diff --git a/quinn/etc/nixos/configuration.nix b/quinn/etc/nixos/configuration.nix index f149f31..b4a1e8c 100644 --- a/quinn/etc/nixos/configuration.nix +++ b/quinn/etc/nixos/configuration.nix @@ -11,6 +11,7 @@ ]; # Enable forwarding for containers + # I have not yet confirmed that this is necessary. boot.kernel.sysctl = { "net.ipv6.conf.all.forwarding" = 1; }; @@ -280,15 +281,6 @@ system.stateVersion = "24.05"; # Did you read the comment? systemd.network.enable = true; - systemd.network.netdevs."00-container-ipvlan" = { - netdevConfig = { - Name = "podipvlan"; - Kind = "ipvlan"; - }; - ipvlanConfig = { - Mode = "L2"; - }; - }; systemd.network.networks."10-wan" = { matchConfig.Name = "enp2s0"; dhcpV6Config = { @@ -317,24 +309,8 @@ # make routing on this interface a dependency for network-online.target linkConfig.RequiredForOnline = "routable"; }; - systemd.network.networks."20-container-ipvlan" = { - matchConfig = { - Name = "podipvlan"; - Type = "ipvlan"; - }; - dhcpPrefixDelegationConfig = { - SubnetId=1; - }; - dhcpV6Config = { - DUIDType="uuid"; - }; - networkConfig = { - IPv6DuplicateAddressDetection=1; - LinkLocalAddressing="ipv6"; - }; - - }; + # Useful for debugging systemd networkd systemd.services.systemd-networkd.environment.SYSTEMD_LOG_LEVEL = "debug"; systemd.services.scan-uploader = {