modules(pihole-container): extract helper function to lib & restructure lets

This commit is contained in:
Christopher Bacher 2022-10-15 21:06:57 +02:00
parent d15ee5c8fa
commit 41d400120d
2 changed files with 20 additions and 18 deletions

View file

@ -19,4 +19,6 @@
;
in _accessValueOfFragment attrs fragment
;
toEnvValue = value: if builtins.isBool value then (if value then "true" else "false") else value;
}