configuration/common: Migrate sshd options
This commit is contained in:
parent
b2ca7d4c3c
commit
197e13306d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user