diff options
author | devhell <devhell@mailfresser.de> | 2017-11-30 19:53:00 +0000 |
---|---|---|
committer | devhell <devhell@mailfresser.de> | 2017-11-30 19:53:00 +0000 |
commit | 9f2710ab0faedccc1a1d7fb546496eb58d05ea95 (patch) | |
tree | cb2cae91cb5a0df75a402fc0570c6865952d525d /machines/devhell/titan.nix | |
parent | 2dfdc52ab27d5bb5d9c0b6f0651dbfa0da3a1413 (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/devhell/titan.nix')
-rw-r--r-- | machines/devhell/titan.nix | 3 |
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; |