Files
tuxcord.nix/nixos/openssh.nix
T
2026-05-04 01:56:32 +02:00

14 lines
222 B
Nix

{
services.openssh = {
enable = true;
settings = {
ClientAliveInterval = 300;
KbdInteractiveAuthentication = false;
PasswordAuthentication = false;
PermitRootLogin = "no";
};
};
}