s0mePC-nix: resolved init
Signed-off-by: s0me1newithhand7s <117505144+s0me1newithhand7s@users.noreply.github.com>
This commit is contained in:
parent
693a365422
commit
7830f30c37
2 changed files with 42 additions and 0 deletions
|
|
@ -71,6 +71,7 @@
|
|||
./services/usbmuxd.nix
|
||||
./services/irqbalance.nix
|
||||
./services/yubikey-agent.nix
|
||||
./services/resolved.nix
|
||||
|
||||
./sops/defaults.nix
|
||||
./sops/secrets.nix
|
||||
|
|
|
|||
41
s0mePC-nix/services/resolved.nix
Normal file
41
s0mePC-nix/services/resolved.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
...
|
||||
}: {
|
||||
services = {
|
||||
resolved = {
|
||||
enable = true;
|
||||
dnsovertls = "true";
|
||||
dnssec = "true";
|
||||
llmnr = "resolve";
|
||||
domains = [
|
||||
"~."
|
||||
];
|
||||
|
||||
fallbackDns = [
|
||||
# cf dns
|
||||
"1.1.1.1"
|
||||
"1.0.0.1"
|
||||
"2606:4700:4700::1111"
|
||||
"2606:4700:4700::1001"
|
||||
|
||||
# google dns
|
||||
"8.8.8.8"
|
||||
"8.8.4.4"
|
||||
"2001:4860:4860::8888"
|
||||
"2001:4860:4860::8844"
|
||||
|
||||
# q9 dns
|
||||
"9.9.9.9"
|
||||
"149.112.112.112"
|
||||
"2620:fe::fe"
|
||||
"2620:fe::9"
|
||||
|
||||
# open dns
|
||||
"208.67.222.222"
|
||||
"208.67.220.220"
|
||||
"2620:119:35::35"
|
||||
"2620:119:53::53"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue