diff options
| -rw-r--r-- | profiles/server.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/profiles/server.nix b/profiles/server.nix index 5c5cacf..d950b67 100644 --- a/profiles/server.nix +++ b/profiles/server.nix @@ -1,4 +1,4 @@ -{ ... }: +{ lib, ... }: { boot.tmp.cleanOnBoot = true; @@ -43,5 +43,9 @@ type = "ed25519"; } ]; + # https://man.openbsd.org/sshd_config.5#PerSourcePenaltyExemptList + settings.PerSourcePenaltyExemptList = lib.strings.concatStringsSep "," [ + "192.168.1.0/24" + ]; }; } |
