modules(pihole-container): extract helper function to lib & restructure lets
This commit is contained in:
parent
d15ee5c8fa
commit
41d400120d
2 changed files with 20 additions and 18 deletions
|
@ -19,4 +19,6 @@
|
|||
;
|
||||
in _accessValueOfFragment attrs fragment
|
||||
;
|
||||
|
||||
toEnvValue = value: if builtins.isBool value then (if value then "true" else "false") else value;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue