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

Binary file not shown.

BIN
flake.nix

Binary file not shown.