fix: use mkForce for PermitRootLogin to override upstream module default
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
networking.networkmanager.enable = true;
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings.PermitRootLogin = "prohibit-password";
|
||||
settings.PermitRootLogin = lib.mkForce "prohibit-password";
|
||||
settings.PasswordAuthentication = lib.mkForce false;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user