configurations for my servers and desktops
nix nixos flake dots dotfiles

chore: idk i give up

+1 -5
-5
hosts/bluepill/default.nix
··· 19 19 networking.hostName = "bluepill"; 20 20 networking.useNetworkd = true; 21 21 22 - services.openssh.extraConfig = '' 23 - # For all users except git, only allow from LAN and Tailscale 24 - AllowUsers git *@192.168.4.0/22 *@100.64.0.0/10 *@127.0.0.1 25 - ''; 26 - 27 22 system.autoUpgrade = { 28 23 enable = true; 29 24 flake = "github:intergrav/flake";
+1
modules/nixos/modules/ssh.nix
··· 8 8 PermitRootLogin = "no"; 9 9 }; 10 10 }; 11 + fail2ban.enable = true; 11 12 }; 12 13 }