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

9 lines
150 B
Nix

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