nixos-configs/nixosModules/openssh.nix

12 lines
227 B
Nix
Raw Normal View History

2025-09-13 17:22:20 +02:00
{
services.openssh = {
enable = true;
openFirewall = true;
settings = {
2025-12-11 22:13:32 +01:00
PermitRootLogin = "prohibit-password";
2025-09-13 17:22:20 +02:00
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
};
}