mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
17 lines
263 B
Nix
17 lines
263 B
Nix
_: {
|
|
networking = {
|
|
nameservers = [
|
|
"194.242.2.2" # For now, Mullvad DNS.
|
|
];
|
|
};
|
|
services.resolved = {
|
|
enable = true;
|
|
fallbackDns = [
|
|
"1.1.1.1"
|
|
];
|
|
dnssec = "false";
|
|
extraConfig = ''
|
|
DNSOverTLS=yes
|
|
'';
|
|
};
|
|
}
|