about summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
authordevhell <devhell@mailfresser.de>2017-11-30 19:53:00 +0000
committerdevhell <devhell@mailfresser.de>2017-11-30 19:53:00 +0000
commit9f2710ab0faedccc1a1d7fb546496eb58d05ea95 (patch)
treecb2cae91cb5a0df75a402fc0570c6865952d525d /machines
parent2dfdc52ab27d5bb5d9c0b6f0651dbfa0da3a1413 (diff)
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.
Diffstat (limited to 'machines')
-rw-r--r--machines/devhell/titan.nix3
1 files changed, 3 insertions, 0 deletions
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;