From dbff1d232f9462b4992b13c1b4341e4d018420b8 Mon Sep 17 00:00:00 2001 From: devhell Date: Thu, 23 Apr 2020 15:29:29 +0100 Subject: machines/hildr: Remove custom DNS and change comment As with the previous commit, Cloudflare's DNS is already baked into networkd, so no need to add them anymore. The change in comment also reflects more accurately now that the virtual interfaces are to be ignored by networkd. --- machines/devhell/hildr.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'machines') diff --git a/machines/devhell/hildr.nix b/machines/devhell/hildr.nix index 98c4a46b..5e67a0aa 100644 --- a/machines/devhell/hildr.nix +++ b/machines/devhell/hildr.nix @@ -54,8 +54,7 @@ # FIXME Check if this is still necessary in the future systemd.services.systemd-networkd-wait-online.enable = false; - # XXX Ensure that these are added in addition to the DHCP provided DNS servers - systemd.network.networks."99-main".dns = [ "1.1.1.1" "1.0.0.1" ]; + # XXX Make networkd ignore virtual network interfaces systemd.network.networks."99-libvirt" = { matchConfig.Name = "virbr* vnet* docker*"; linkConfig.Unmanaged = true; -- cgit 1.4.1