Commit graph

4 commits

Author SHA1 Message Date
Christopher Bacher
c536fb7293 refactor: move support functions to ./lib; change piholeConfiguration option to piholeConfig
The first part of the refactor simplifies the logic in the module and hides functions which are only used to extract container env vars.
Second the option renaming to piholeConfig unifies the naming with the hostConfig option.
2022-12-05 23:23:19 +01:00
Christopher Bacher
647d73908b lib(util): toEnvValue converts list into the format '[A;B;C]' 2022-10-16 15:25:31 +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
1f8b3f5d1a lib(util): add functions for finding and acessing fragments ("paths") through a tree of attrSets 2022-10-14 01:29:48 +02:00