diff --git a/machines/heimdall/configuration.nix b/machines/heimdall/configuration.nix index 252acd2..40ba454 100644 --- a/machines/heimdall/configuration.nix +++ b/machines/heimdall/configuration.nix @@ -64,18 +64,14 @@ routes = [ { - routeConfig = { - Destination = "172.31.1.1/32"; - Scope = "link"; - Protocol = "static"; - }; + Destination = "172.31.1.1/32"; + Scope = "link"; + Protocol = "static"; } { - routeConfig = { - Destination = "fe80::1/128"; - Scope = "link"; - Protocol = "static"; - }; + Destination = "fe80::1/128"; + Scope = "link"; + Protocol = "static"; } ]; }; diff --git a/machines/loki/configuration.nix b/machines/loki/configuration.nix index 7cd3e55..bb8d510 100644 --- a/machines/loki/configuration.nix +++ b/machines/loki/configuration.nix @@ -307,28 +307,20 @@ routes = [ { - routeConfig = { - Destination = "192.168.4.0/23"; - Scope = "link"; - }; + Destination = "192.168.4.0/23"; + Scope = "link"; } { - routeConfig = { - Destination = "192.168.6.0/24"; - Scope = "link"; - }; + Destination = "192.168.6.0/24"; + Scope = "link"; } { - routeConfig = { - Destination = "192.168.7.0/24"; - Scope = "link"; - }; + Destination = "192.168.7.0/24"; + Scope = "link"; } { - routeConfig = { - Destination = "192.168.8.0/24"; - Scope = "link"; - }; + Destination = "192.168.8.0/24"; + Scope = "link"; } ]; };