From 9f2710ab0faedccc1a1d7fb546496eb58d05ea95 Mon Sep 17 00:00:00 2001 From: devhell Date: Thu, 30 Nov 2017 19:53:00 +0000 Subject: machines/titan: Stop networkd using advertised DNS DNSCrypt is pretty cool so far, but networkd is using the nameservers adviertised through DHCP on respective interfaces which defeats the point of DNSCrypt a bit. So, unfortunately we'll have to work around it this way. --- machines/devhell/titan.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'machines') diff --git a/machines/devhell/titan.nix b/machines/devhell/titan.nix index 5e3b17ae..139d4dd2 100644 --- a/machines/devhell/titan.nix +++ b/machines/devhell/titan.nix @@ -53,6 +53,9 @@ # FIXME Check if this is still necessary in the future systemd.services.systemd-networkd-wait-online.enable = false; + # XXX Kind of a hack to work around the issue of networkd not honoring networking.nameservers + systemd.network.networks."99-main".dhcpConfig.UseDNS = false; + networking.hostName = "titan"; networking.wireless.enable = true; networking.useNetworkd= true; -- cgit 1.4.1