networkmanager: don't update dns from NM
This commit is contained in:
parent
c55d60ef27
commit
d478059fe8
@ -1,9 +1,14 @@
|
|||||||
{ ... }: {
|
{ lib, ... }: {
|
||||||
imports = [ ../misc/adblocking.nix ];
|
imports = [ ../misc/adblocking.nix ];
|
||||||
|
|
||||||
networking.networkmanager = {
|
networking.networkmanager = {
|
||||||
enable = true;
|
enable = true;
|
||||||
wifi.backend = "iwd";
|
wifi.backend = "iwd";
|
||||||
|
dns = lib.mkForce "none";
|
||||||
|
extraConfig = ''
|
||||||
|
[main]
|
||||||
|
systemd-resolved=false
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.nameservers =
|
networking.nameservers =
|
||||||
|
Loading…
Reference in New Issue
Block a user