diff options
author | Karel Kočí <cynerd@email.cz> | 2025-01-19 13:00:31 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2025-01-19 13:00:31 +0100 |
commit | 39dea4d3636b3162c7ff72977c25e7c713faade1 (patch) | |
tree | ca904d3d89620a9bd1a2ce93b454e7da93591b37 /nixos/configurations/adm-omnia.nix | |
parent | c74091f90e8d936319baa168d336e4ab04e5c687 (diff) | |
download | nixos-personal-39dea4d3636b3162c7ff72977c25e7c713faade1.tar.gz nixos-personal-39dea4d3636b3162c7ff72977c25e7c713faade1.tar.bz2 nixos-personal-39dea4d3636b3162c7ff72977c25e7c713faade1.zip |
Attempt to get Rpi to work
Diffstat (limited to 'nixos/configurations/adm-omnia.nix')
-rw-r--r-- | nixos/configurations/adm-omnia.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/nixos/configurations/adm-omnia.nix b/nixos/configurations/adm-omnia.nix index b332cab..4683cf2 100644 --- a/nixos/configurations/adm-omnia.nix +++ b/nixos/configurations/adm-omnia.nix @@ -48,10 +48,12 @@ in { fileSystems = ["/"]; }; - networking = { - useNetworkd = true; - useDHCP = false; + services.fail2ban = { + enable = true; + ignoreIP = ["10.8.1.0/24" "10.8.2.0/24"]; }; + + networking.useDHCP = false; systemd.network = { networks = { "end2" = { |