diff options
author | Ben Sima <ben@bsima.me> | 2022-03-30 11:35:58 -0400 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2022-03-30 11:35:58 -0400 |
commit | feb9094a0d6c12e84e7997984ecd71aef76a760f (patch) | |
tree | 95197df10aa2ac2e45809df7435b631cae3af1ee /Biz | |
parent | cb34da30f3f699c1fcad71b80426e8d87886a2a5 (diff) |
Fix my home IP reference
Diffstat (limited to 'Biz')
-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; |