query
On this page

toKeyValue

lib.generators.toKeyValue

Docs pulled from | This Revision | 21 minutes ago


Generate a key-value-style config file from an attrset.

Inputs

Structured function argument
mkKeyValue (optional, default: mkKeyValueDefault {} "=")
format a setting line from key and value
listsAsDuplicateKeys (optional, default: false)
allow lists as values for duplicate keys
indent (optional, default: "")
Initial indentation level