diff options
Diffstat (limited to 'modules/network-interfaces-systemd.nix')
-rw-r--r-- | modules/network-interfaces-systemd.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/network-interfaces-systemd.nix b/modules/network-interfaces-systemd.nix index a3a49f5e..f62c6b86 100644 --- a/modules/network-interfaces-systemd.nix +++ b/modules/network-interfaces-systemd.nix | |||
@@ -60,10 +60,8 @@ in | |||
60 | ++ optional (cfg.defaultGateway6 != null && (cfg.defaultGateway6.address or "") != "") cfg.defaultGateway6.address; | 60 | ++ optional (cfg.defaultGateway6 != null && (cfg.defaultGateway6.address or "") != "") cfg.defaultGateway6.address; |
61 | in optionalAttrs (gateway != [ ]) { | 61 | in optionalAttrs (gateway != [ ]) { |
62 | routes = override (map (gateway: { | 62 | routes = override (map (gateway: { |
63 | routeConfig = { | 63 | Gateway = gateway; |
64 | Gateway = gateway; | 64 | GatewayOnLink = false; |
65 | GatewayOnLink = false; | ||
66 | }; | ||
67 | }) gateway); | 65 | }) gateway); |
68 | } // optionalAttrs (domains != [ ]) { | 66 | } // optionalAttrs (domains != [ ]) { |
69 | domains = override domains; | 67 | domains = override domains; |