devos/profiles/networkmanager/default.nix

24 lines
463 B
Nix
Raw Normal View History

2020-06-20 21:59:34 +02: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 21:59:34 +02:00
networking.wireless.iwd.enable = true;
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 21:59:34 +02:00
}