diff --git a/hosts/containers/freifunk/configuration.nix b/hosts/containers/freifunk/configuration.nix index bfa7ed8f..c64cc9e0 100644 --- a/hosts/containers/freifunk/configuration.nix +++ b/hosts/containers/freifunk/configuration.nix @@ -104,17 +104,12 @@ in { "2a02:8106:208:5281:8000::1/64" "fd23:42:c3d2:581:8000::1/64" ]; - routes = [ { - routeConfig = { - # upstream1 - Gateway = "2a02:8106:208:5281::b:0"; - }; - } { - routeConfig = { - # anon1 - Gateway = "172.20.72.7"; - }; - } ]; + routes = map (Gateway: { routeConfig = { inherit Gateway; }; }) [ + # upstream1 + "2a02:8106:208:5281::b:0" + # anon1 + "172.20.72.7" + ]; }; }; };