feat(oksys): start pihole config

This commit is contained in:
matt1432 2023-12-03 02:24:11 -05:00
parent f5abb4e05d
commit d76c5a25a2
4 changed files with 25 additions and 0 deletions

View file

@ -4,7 +4,10 @@
../../modules/tailscale.nix
./modules/caddy.nix
./modules/headscale.nix
./modules/pihole.nix
./modules/unbound.nix
];
vars = {

View 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";
};
};
};
}

Binary file not shown.

BIN
flake.nix

Binary file not shown.