diff options
Diffstat (limited to 'hosts/vidhar/default.nix')
-rw-r--r-- | hosts/vidhar/default.nix | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix index d1955474..1d8f4c3c 100644 --- a/hosts/vidhar/default.nix +++ b/hosts/vidhar/default.nix | |||
@@ -165,8 +165,14 @@ | |||
165 | "net.ipv4.conf.default.forwarding" = true; | 165 | "net.ipv4.conf.default.forwarding" = true; |
166 | }; | 166 | }; |
167 | systemd.network.networks = { | 167 | systemd.network.networks = { |
168 | "eno2".networkConfig.LinkLocalAddressing = "no"; | 168 | "eno2" = { |
169 | "telekom".networkConfig.LinkLocalAddressing = "no"; | 169 | matchConfig.Name = "eno2"; |
170 | networkConfig.LinkLocalAddressing = "no"; | ||
171 | }; | ||
172 | "telekom" = { | ||
173 | matchConfig.Name = "telekom"; | ||
174 | networkConfig.LinkLocalAddressing = "no"; | ||
175 | }; | ||
170 | }; | 176 | }; |
171 | systemd.services."dhcpcd-telekom" = { | 177 | systemd.services."dhcpcd-telekom" = { |
172 | wantedBy = [ "multi-user.target" "network-online.target" ]; | 178 | wantedBy = [ "multi-user.target" "network-online.target" ]; |