feat(oksys): finish pihole config
This commit is contained in:
parent
11c2b185b6
commit
f4b2a970b1
3 changed files with 8 additions and 1 deletions
|
@ -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"
|
||||
|
|
BIN
flake.lock
BIN
flake.lock
Binary file not shown.
BIN
flake.nix
BIN
flake.nix
Binary file not shown.
Loading…
Reference in a new issue