1
0
Fork 0

configuration/common: Migrate sshd options

This commit is contained in:
clerie 2023-04-16 15:31:07 +02:00
parent b2ca7d4c3c
commit 197e13306d
1 changed files with 5 additions and 3 deletions

View File

@ -52,9 +52,11 @@
};
services.openssh.enable = true;
services.openssh.passwordAuthentication = false;
services.openssh.kbdInteractiveAuthentication = false;
services.openssh.permitRootLogin = lib.mkDefault "no";
services.openssh.settings = {
passwordAuthentication = false;
kbdInteractiveAuthentication = false;
permitRootLogin = lib.mkDefault "no";
};
nix.gc = lib.mkDefault {
automatic = true;