feat(oksys): start pihole config
This commit is contained in:
parent
f5abb4e05d
commit
d76c5a25a2
4 changed files with 25 additions and 0 deletions
|
@ -4,7 +4,10 @@
|
|||
|
||||
../../modules/tailscale.nix
|
||||
|
||||
./modules/caddy.nix
|
||||
./modules/headscale.nix
|
||||
./modules/pihole.nix
|
||||
./modules/unbound.nix
|
||||
];
|
||||
|
||||
vars = {
|
||||
|
|
22
devices/oksys/modules/pihole.nix
Normal file
22
devices/oksys/modules/pihole.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{pihole, ...}: {
|
||||
imports = [pihole.nixosModules.default];
|
||||
|
||||
#TODO: set the whole thing up
|
||||
services.pihole = {
|
||||
enable = true;
|
||||
|
||||
dnsPort = 5335;
|
||||
webPort = 8080;
|
||||
|
||||
piholeConfig = {
|
||||
ftl = {
|
||||
LOCAL_IPV4 = "127.0.0.1";
|
||||
};
|
||||
|
||||
web = {
|
||||
virtualHost = "pi.hole";
|
||||
password = "password";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
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