From 39dea4d3636b3162c7ff72977c25e7c713faade1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 19 Jan 2025 13:00:31 +0100 Subject: Attempt to get Rpi to work --- nixos/configurations/adm-omnia.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'nixos/configurations/adm-omnia.nix') 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" = { -- cgit v1.2.3