diff --git a/nix/nixos-module/container/bird.nix b/nix/nixos-module/container/bird.nix index be24c94..43fd58c 100644 --- a/nix/nixos-module/container/bird.nix +++ b/nix/nixos-module/container/bird.nix @@ -108,12 +108,6 @@ in export where net != 0.0.0.0/0; }; area 0 { - # Enabled on these networks - networks { - ${builtins.concatStringsSep " " ( - map (n: " ${n};") config.site.ospf.networks4 - )} - }; ${builtins.concatStringsSep "\n" ( builtins.attrValues ( builtins.mapAttrs (net: _: @@ -152,12 +146,6 @@ in export where net = 0.0.0.0/0; }; area ${config.site.net.core.hosts4.${hostName}} { - # Enabled on these networks - networks { - ${builtins.concatStringsSep " " ( - map (n: " ${n};") config.site.ospf.networks4 - )} - }; ${builtins.concatStringsSep "\n" ( builtins.attrValues ( builtins.mapAttrs (net: _: @@ -192,12 +180,6 @@ in ''} }; area ${config.site.net.core.hosts4.${upstream}} { - # Enabled on these networks - networks { - ${builtins.concatStringsSep " " ( - map (n: " ${n};") config.site.ospf.networks4 - )} - }; ${builtins.concatStringsSep "\n" ( builtins.attrValues ( builtins.mapAttrs (net: _: @@ -224,12 +206,6 @@ in export where net != ::/0; }; area 0 { - # Enabled on these networks - networks { - ${builtins.concatStringsSep " " ( - map (n: " ${n};") config.site.ospf.networks6 - )} - }; ${builtins.concatStringsSep "\n" ( builtins.attrValues ( builtins.mapAttrs (net: _: @@ -270,12 +246,6 @@ in export where net = ::/0; }; area ${config.site.net.core.hosts4.${hostName}} { - # Enabled on these networks - networks { - ${builtins.concatStringsSep " " ( - map (n: " ${n};") config.site.ospf.networks4 - )} - }; ${builtins.concatStringsSep "\n" ( builtins.attrValues ( builtins.mapAttrs (net: _: @@ -307,12 +277,6 @@ in }; }; area ${config.site.net.core.hosts4.${upstream}} { - # Enabled on these networks - networks { - ${builtins.concatStringsSep " " ( - map (n: " ${n};") config.site.ospf.networks4 - )} - }; ${builtins.concatStringsSep "\n" ( builtins.attrValues ( builtins.mapAttrs (net: _: