feat(oksys): finish pihole config
This commit is contained in:
parent
11c2b185b6
commit
f4b2a970b1
3 changed files with 25 additions and 13 deletions
devices/oksys/modules
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue