summaryrefslogtreecommitdiff
path: root/modules/nixos/openssh.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nixos/openssh.nix')
-rw-r--r--modules/nixos/openssh.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/nixos/openssh.nix b/modules/nixos/openssh.nix
index 0cd44bd..9a131d7 100644
--- a/modules/nixos/openssh.nix
+++ b/modules/nixos/openssh.nix
@@ -46,7 +46,7 @@ in {
else "ERROR";
MaxAuthTries = 3;
PasswordAuthentication = false;
- PermitRootLogin = "no";
+ PermitRootLogin = mkForce "no";
};
};