diff --git a/nix/nixos-module/container/upstream.nix b/nix/nixos-module/container/upstream.nix index f3c88d5..de23478 100644 --- a/nix/nixos-module/container/upstream.nix +++ b/nix/nixos-module/container/upstream.nix @@ -32,12 +32,15 @@ in }; }; } // builtins.mapAttrs (_: { upstream, ... }: + # DHCP lib.optionalAttrs (hostName != "flpk-gw") { DHCP = "yes"; networkConfig.IPv6AcceptRA = true; dhcpV6Config.PrefixDelegationHint = "::/56"; - } // { - # Traffic Shaping + } + // + # Traffic Shaping + { extraConfig = '' [CAKE] Parent = root @@ -54,7 +57,7 @@ in ''} ''; } - }) upstreamInterfaces; + ) upstreamInterfaces; networking.nat = lib.optionalAttrs enabled { enable = true;