From feb9094a0d6c12e84e7997984ecd71aef76a760f Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 30 Mar 2022 11:35:58 -0400 Subject: Fix my home IP reference --- Biz/OsBase.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Biz') 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; -- cgit v1.2.3