nix-config/hosts/vps/modules/services/openssh.nix

9 lines
158 B
Nix

{
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
PermitRootLogin = "prohibit-password";
};
};
}