configuration.nix/hosts/rico2/services/ssh.nix

9 lines
152 B
Nix

{ ... }: {
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
};
};
}