nixos-configs/devices/oksys/modules/pihole.nix

23 lines
356 B
Nix
Raw Normal View History

2023-12-03 02:24:11 -05:00
{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";
};
};
};
}