summaryrefslogtreecommitdiff
path: root/modules/network-interfaces-systemd.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2024-08-01 10:48:06 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2024-08-01 10:48:06 +0200
commit0f06a86b1eaa99ff21cdce8c5f1c54b688cbbcf6 (patch)
tree41691fef5468c5efbc32c12cbacd55e97b23b0de /modules/network-interfaces-systemd.nix
parent48f8d3c11d9117f10e6ca5b76a08b91cef5c861b (diff)
downloadnixos-0f06a86b1eaa99ff21cdce8c5f1c54b688cbbcf6.tar
nixos-0f06a86b1eaa99ff21cdce8c5f1c54b688cbbcf6.tar.gz
nixos-0f06a86b1eaa99ff21cdce8c5f1c54b688cbbcf6.tar.bz2
nixos-0f06a86b1eaa99ff21cdce8c5f1c54b688cbbcf6.tar.xz
nixos-0f06a86b1eaa99ff21cdce8c5f1c54b688cbbcf6.zip
...
Diffstat (limited to 'modules/network-interfaces-systemd.nix')
-rw-r--r--modules/network-interfaces-systemd.nix6
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;