Compare commits

...

2 commits

Author SHA1 Message Date
d76c5a25a2 feat(oksys): start pihole config 2023-12-03 02:24:11 -05:00
f5abb4e05d feat: add cleanTmp 2023-12-03 02:22:38 -05:00
5 changed files with 26 additions and 0 deletions

View file

@ -21,6 +21,7 @@
]; ];
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
boot.tmp.cleanOnBoot = true;
nix = { nix = {
# Edit nix.conf # Edit nix.conf

View file

@ -4,7 +4,10 @@
../../modules/tailscale.nix ../../modules/tailscale.nix
./modules/caddy.nix
./modules/headscale.nix ./modules/headscale.nix
./modules/pihole.nix
./modules/unbound.nix
]; ];
vars = { 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.