diff options
author | stuebinm | 2023-05-29 02:13:36 +0200 |
---|---|---|
committer | stuebinm | 2023-05-29 02:13:36 +0200 |
commit | 6085f86d2a39c5c8d8c8f256fe2650f02e6ff368 (patch) | |
tree | b273e6598e74b3b461415d31aedb95351d674738 /common/headless.nix | |
parent | 3ccfcfb3dc9562b38141b26aed3bf61e24be4457 (diff) |
initial jump to nixos 23.05
Diffstat (limited to '')
-rw-r--r-- | common/headless.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/common/headless.nix b/common/headless.nix index 25c668b..396ded0 100644 --- a/common/headless.nix +++ b/common/headless.nix @@ -18,8 +18,10 @@ services.openssh = { enable = true; - permitRootLogin = "prohibit-password"; - passwordAuthentication = false; + settings = { + PermitRootLogin = "prohibit-password"; + PasswordAuthentication = false; + }; }; security.sudo.enable = false; @@ -35,7 +37,7 @@ bantime-increment.enable = true; bantime-increment.overalljails = true; bantime-increment.maxtime = "1312m"; - ignoreIP = [ "185.39.64.13" ]; + maxretry = 20; }; services.logrotate = { |