2020-06-20 22:59:34 +03:00
|
|
|
{ ... }: {
|
2020-07-21 23:34:21 +03:00
|
|
|
imports = [ ../misc/adblocking.nix ];
|
|
|
|
|
|
|
|
networking.networkmanager = {
|
|
|
|
enable = true;
|
|
|
|
wifi.backend = "iwd";
|
|
|
|
};
|
|
|
|
|
|
|
|
networking.nameservers =
|
|
|
|
[ "1.1.1.1#one.one.one.one" "1.0.0.1#one.one.one.one" ];
|
2020-06-20 22:59:34 +03:00
|
|
|
|
|
|
|
networking.wireless.iwd.enable = true;
|
2020-07-21 23:34:21 +03: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 22:59:34 +03:00
|
|
|
}
|