nixos-configs/nixosModules/openssh.nix

12 lines
226 B
Nix
Raw Normal View History

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