diff --git a/hosts/vde/networking.nix b/hosts/vde/networking.nix index 8fad02f..0cede4e 100644 --- a/hosts/vde/networking.nix +++ b/hosts/vde/networking.nix @@ -1,28 +1,30 @@ { constants, ... }: { - networking.networkmanager.ensureProfiles.profiles = { + networking = { nameservers = [ constants.hosts.sid.ip ]; - enp34s0-profile = { - connection = { - id = "enp34s0"; - type = "ethernet"; - interface-name = "enp34s0"; + networkmanager.ensureProfiles.profiles = { + enp34s0-profile = { + connection = { + id = "enp34s0"; + type = "ethernet"; + interface-name = "enp34s0"; + }; + ipv4 = { + method = "auto"; + route-metric = 50; + }; }; - ipv4 = { - method = "auto"; - route-metric = 50; - }; - }; - enp36s0-profile = { - connection = { - id = "enp36s0"; - type = "ethernet"; - interface-name = "enp36s0"; - }; - ipv4 = { - method = "auto"; - route-metric = 200; + enp36s0-profile = { + connection = { + id = "enp36s0"; + type = "ethernet"; + interface-name = "enp36s0"; + }; + ipv4 = { + method = "auto"; + route-metric = 200; + }; }; }; };