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 = {
|
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"
|
||||||
|
|
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