feat(oksys): finish pihole config

This commit is contained in:
matt1432 2023-12-06 13:59:14 -05:00
parent 11c2b185b6
commit f4b2a970b1
3 changed files with 8 additions and 1 deletions

View file

@ -4,7 +4,7 @@
services.pihole = {
enable = true;
dnsPort = 5353;
dnsPort = 53;
webPort = 8080;
piholeConfig = {
@ -22,6 +22,13 @@
password = "password";
};
# Declaratively set the DNS settings
# in Settings -> DNS -> Interface settings
dnsmasq.extraConfig = ''
interface=tailscale0
except-interface=nonexisting
'';
# Handle it with unbound
dns.upstreamServers = [
"127.0.0.1#5335"

Binary file not shown.

BIN
flake.nix

Binary file not shown.