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

10 lines
152 B
Nix
Raw Normal View History

2023-06-02 16:53:09 +05:30
{ ... }: {
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
};
};
}