2020-07-29 22:45:51 +00:00
|
|
|
{ lib, ... }: {
|
2020-07-21 20:34:21 +00:00
|
|
|
networking.networkmanager = {
|
|
|
|
enable = true;
|
|
|
|
wifi.backend = "iwd";
|
2020-07-29 22:45:51 +00:00
|
|
|
dns = lib.mkForce "none";
|
|
|
|
extraConfig = ''
|
|
|
|
[main]
|
|
|
|
systemd-resolved=false
|
|
|
|
'';
|
2020-07-21 20:34:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
networking.nameservers =
|
|
|
|
[ "1.1.1.1#one.one.one.one" "1.0.0.1#one.one.one.one" ];
|
2020-06-20 19:59:34 +00:00
|
|
|
|
|
|
|
networking.wireless.iwd.enable = true;
|
2020-07-21 20:34:21 +00:00
|
|
|
|
|
|
|
services.resolved = {
|
|
|
|
enable = true;
|
|
|
|
dnssec = "true";
|
|
|
|
fallbackDns = [ "1.1.1.1#one.one.one.one" "1.0.0.1#one.one.one.one" ];
|
|
|
|
extraConfig = ''
|
|
|
|
DNSOverTLS=yes
|
|
|
|
'';
|
|
|
|
};
|
2020-06-20 19:59:34 +00:00
|
|
|
}
|