configurations for my servers and desktops
nix nixos flake dots dotfiles

fix: only enable fail2ban for proxy

+5 -1
+1
hosts/bluepill-proxy/default.nix
··· 2 2 imports = [ 3 3 ./hardware.nix 4 4 ./modules/caddy.nix 5 + ./modules/fail2ban.nix 5 6 ./modules/socat.nix 6 7 ]; 7 8
+3
hosts/bluepill-proxy/modules/fail2ban.nix
··· 1 + {...}: { 2 + services.fail2ban.enable = true; 3 + }
+1 -1
modules/nixos/modules/ssh.nix
··· 3 3 openssh = { 4 4 enable = true; 5 5 settings = { 6 + LogLevel = "VERBOSE"; 6 7 PasswordAuthentication = false; 7 8 KbdInteractiveAuthentication = false; 8 9 PermitRootLogin = "no"; 9 10 }; 10 11 }; 11 - fail2ban.enable = true; 12 12 }; 13 13 }