configuration/common: Migrate sshd options
This commit is contained in:
parent
b2ca7d4c3c
commit
197e13306d
@ -52,9 +52,11 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
services.openssh.passwordAuthentication = false;
|
services.openssh.settings = {
|
||||||
services.openssh.kbdInteractiveAuthentication = false;
|
passwordAuthentication = false;
|
||||||
services.openssh.permitRootLogin = lib.mkDefault "no";
|
kbdInteractiveAuthentication = false;
|
||||||
|
permitRootLogin = lib.mkDefault "no";
|
||||||
|
};
|
||||||
|
|
||||||
nix.gc = lib.mkDefault {
|
nix.gc = lib.mkDefault {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user