diff --git a/flake.nix b/flake.nix index a607c67..468420c 100644 --- a/flake.nix +++ b/flake.nix @@ -83,7 +83,7 @@ services.vm = { enable = true; hostname = "nginx"; - vm_ip = "192.168.122.40"; + vm_ip = "192.168.1.40"; macAddr = "02:00:00:00:00:40"; }; } diff --git a/hosts/nixos-hypervisor/configuration.nix b/hosts/nixos-hypervisor/configuration.nix index b13a14e..a8a10f8 100644 --- a/hosts/nixos-hypervisor/configuration.nix +++ b/hosts/nixos-hypervisor/configuration.nix @@ -40,9 +40,9 @@ "10-lan-bridge" = { matchConfig.Name = "br0"; networkConfig = { - Address = ["192.168.122.31/24"]; - Gateway = "192.168.122.1"; - DNS = ["192.168.122.1"]; + Address = ["192.168.1.66/24"]; + Gateway = "192.168.1.254"; + DNS = ["192.168.1.254"]; IPv6AcceptRA = true; }; linkConfig.RequiredForOnline = "routable"; diff --git a/services/minimalConfig/default.nix b/services/minimalConfig/default.nix index d1f10f3..687bd26 100644 --- a/services/minimalConfig/default.nix +++ b/services/minimalConfig/default.nix @@ -98,7 +98,7 @@ }; fail2ban = { enable = true; - ignoreIP = [ "192.168.122.0/24" ]; + ignoreIP = [ "192.168.1.0/24" ]; }; rsyslogd = { enable = true;