s0mePC-nix: resolved init

Signed-off-by: s0me1newithhand7s <117505144+s0me1newithhand7s@users.noreply.github.com>
This commit is contained in:
s0me1newithhand7s 2025-06-17 10:34:41 +03:00
parent 693a365422
commit 7830f30c37
No known key found for this signature in database
2 changed files with 42 additions and 0 deletions

View file

@ -71,6 +71,7 @@
./services/usbmuxd.nix
./services/irqbalance.nix
./services/yubikey-agent.nix
./services/resolved.nix
./sops/defaults.nix
./sops/secrets.nix

View 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"
];
};
};
}