networkmanager: don't update dns from NM

This commit is contained in:
Timothy DeHerrera 2020-07-29 16:45:51 -06:00
parent c55d60ef27
commit d478059fe8
No known key found for this signature in database
GPG Key ID: 8985725DB5B0C122
1 changed files with 6 additions and 1 deletions

View File

@ -1,9 +1,14 @@
{ ... }: {
{ lib, ... }: {
imports = [ ../misc/adblocking.nix ];
networking.networkmanager = {
enable = true;
wifi.backend = "iwd";
dns = lib.mkForce "none";
extraConfig = ''
[main]
systemd-resolved=false
'';
};
networking.nameservers =