Commit graph

9 commits

Author SHA1 Message Date
Christopher Bacher
73aed13f87 modules(pihole-container): make newuidmap available to systemd service
See https://github.com/NixOS/nixpkgs/issues/138423
Potentially a security issue as `/run/wrappers/bin/` contains more commands often with suid bit set.
2022-10-15 21:50:59 +02:00
Christopher Bacher
41d400120d modules(pihole-container): extract helper function to lib & restructure lets 2022-10-15 21:49:30 +02:00
Christopher Bacher
d15ee5c8fa modules(pihole-container): add pihole systemd service description & option handling (dhcp still missing) 2022-10-14 01:34:29 +02:00
Christopher Bacher
c1ab2461ac module(pihole-container): improve the module's options by adding better defaults and the environment variable names which are controlled by the options 2022-10-14 01:33:19 +02:00
Christopher Bacher
1f8b3f5d1a lib(util): add functions for finding and acessing fragments ("paths") through a tree of attrSets 2022-10-14 01:29:48 +02:00
Christopher Bacher
1a4551ff17 module(pihole-container): rename module to pihole 2022-10-09 19:57:58 +02:00
Christopher Bacher
7174f824d6 module(pihole-container): make it a module factory; WIP: start adding systemd service
The factory function returns the pihole module and allows to pass the flake itself to refer to its outputs.
2022-10-09 19:05:10 +02:00
Christopher Bacher
1b5d13c510 module(pihole-container): add option declarations for the module + add module to flake 2022-10-04 00:19:12 +02:00
Christopher Bacher
ef77de3abd flake(pihole): build pihole docker image (x86_64 & aarch64) + basic devShell for updating image info 2022-09-25 22:15:27 +02:00