Skip to content

Commit

Permalink
fix: Use NextDNS as DNS server
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones2014 committed Feb 25, 2024
1 parent 320b5af commit 291d9e5
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion nixos-modules/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,17 @@
wireguard.enable = true;
# Enable networking
networkmanager.enable = true;
nameservers = [ "45.90.28.117" "45.90.30.117" ];
};

environment.etc = {
"resolved.conf".text = ''
[Resolve]
DNS=45.90.28.0#7cac77.dns.nextdns.io
DNS=2a07:a8c0::#7cac77.dns.nextdns.io
DNS=45.90.30.0#7cac77.dns.nextdns.io
DNS=2a07:a8c1::#7cac77.dns.nextdns.io
DNSOverTLS=yes
'';
};

# Set your time zone.
Expand Down

0 comments on commit 291d9e5

Please sign in to comment.