Files
nixos-config/profiles/openssh.nix
2025-12-20 22:25:36 +00:00

10 lines
151 B
Nix

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