AquaticOS/modules/services/ssh.nix

19 lines
No EOL
317 B
Nix

{ ... }:
{
flake.modules.nixos.ssh =
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
kitty
];
services.openssh = {
enable = true;
openFirewall = true;
settings = {
PasswordAuthentication = true;
PermitRootLogin = "yes";
};
};
};
}