summaryrefslogtreecommitdiff
path: root/modules/nixos/openssh.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-02-02 00:49:21 +0300
committerAzat Bahawi <azat@bahawi.net>2023-02-02 00:49:21 +0300
commit89399796d0b91e7904ce67de04bd2f60f0d93b5b (patch)
tree06d47b2ccc861fe8188cdb96910e651802ae06cc /modules/nixos/openssh.nix
parente8dbb049452e014fe89df34cb8f29e7c21c37666 (diff)
2023-02-02
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";
};
};