From 2f92035a7fdeadec610264a1ad58660b6f113e8f Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Tue, 10 Jun 2025 15:40:44 +0200 Subject: [PATCH] System: Disable IPv6 again Some weird IPv6 issue causes slowdowns in my network configuration, can't find it, so disable it --- system/modules/systemd-networkd/default.nix | 2 +- system/nixinator/default.nix | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/system/modules/systemd-networkd/default.nix b/system/modules/systemd-networkd/default.nix index 906f22cf..62a610cc 100644 --- a/system/modules/systemd-networkd/default.nix +++ b/system/modules/systemd-networkd/default.nix @@ -68,7 +68,7 @@ in { networking = { # Gets inherited from flake in nixos mylib and passed through the module option hostName = cfg.hostname; # Define your hostname. - enableIPv6 = true; + enableIPv6 = false; # Disable a lot of stuff not needed for systemd-networkd networkmanager.enable = false; diff --git a/system/nixinator/default.nix b/system/nixinator/default.nix index 72d4b671..618e269d 100644 --- a/system/nixinator/default.nix +++ b/system/nixinator/default.nix @@ -16,16 +16,16 @@ # This should override the default network 50-ether "10-ether-2_5G" = mylib.networking.mkStaticSystemdNetwork { interface = "enp8s0"; - ips = ["192.168.86.50/24" "fd00::32/120"]; - routers = ["192.168.86.5" "fd00::5"]; - nameservers = ["192.168.86.26" "fd00::1a"]; + ips = ["192.168.86.50/24"]; + routers = ["192.168.86.5"]; + nameservers = ["192.168.86.26"]; routable = true; }; "10-ether-1G" = mylib.networking.mkStaticSystemdNetwork { interface = "enp5s0"; - ips = ["192.168.86.50/24" "fd00::32/120"]; - routers = ["192.168.86.5" "fd00::5"]; - nameservers = ["192.168.86.26" "fd00::1a"]; + ips = ["192.168.86.50/24"]; + routers = ["192.168.86.5"]; + nameservers = ["192.168.86.26"]; routable = false; }; # "10-ether-1G" = mylib.networking.mkStaticSystemdNetwork {...};