devos/profiles/networkmanager/default.nix
2020-07-21 14:34:21 -06:00

23 lines
463 B
Nix

{ ... }: {
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" ];
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
'';
};
}