Skip to content

Commit

Permalink
[nixos/server] use local adguard with fallbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
pSub committed Dec 23, 2024
1 parent 219b6c0 commit 3ee0c46
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions nixos/server/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -277,19 +277,12 @@ in {
SystemMaxUse=1G
'';

services.resolved = {
enable = true;
dnssec = "true";
dnsovertls = "true";
domains = [ "~." ]; # use as default interface for all requests
llmnr = "false";
};

networking.hostName = "nixos"; # Define your hostname.
networking.domain = "pascal-wittmann.de";
networking.nameservers = [
"9.9.9.9#dns.quad9.net"
"149.112.112.112#dns.quad9.net"
"127.0.0.1"
"9.9.9.9"
"149.112.112.112"
];

networking.firewall.enable = true;
Expand Down

0 comments on commit 3ee0c46

Please sign in to comment.