Set PermitRootLogin as a default value

This commit is contained in:
Chris Toph 2025-01-17 01:18:08 -05:00
parent 0a2c3d46e0
commit fb2f410e89

View file

@ -1,3 +1,7 @@
{
lib,
...
}:
{
programs.ssh.startAgent = true;
@ -11,7 +15,7 @@
AllowUsers = null; # everyone
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
PermitRootLogin = "no";
PermitRootLogin = lib.mkDefault "no";
};
};
}