diff options
-rw-r--r-- | Biz/OsBase.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Biz/OsBase.nix b/Biz/OsBase.nix index c9f9f9a..f1caee3 100644 --- a/Biz/OsBase.nix +++ b/Biz/OsBase.nix @@ -1,5 +1,7 @@ {...}: -{ +let + ports = import ./Cloud/Ports.nix; +in { boot.cleanTmpDir = true; networking.firewall.allowPing = true; nix.binaryCaches = [ "https://cache.nixos.org" ]; @@ -15,7 +17,7 @@ services.clamav.daemon.enable = true; # security services.clamav.updater.enable = true; # security services.fail2ban.enable = true; # security - services.fail2ban.ignoreIP = [ "199.26.245.64" ]; # my home IP + services.fail2ban.ignoreIP = [ ports.bensIp ]; # my home IP services.openssh.enable = true; services.openssh.openFirewall = true; services.openssh.forwardX11 = true; |