toKeyValue
lib.generators.toKeyValue
Docs pulled from | This Revision | about 9 hours 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
- mkKeyValue (optional, default:
-
- listsAsDuplicateKeys (optional, default:
false
) - allow lists as values for duplicate keys
- listsAsDuplicateKeys (optional, default:
-
- indent (optional, default:
""
) - Initial indentation level
- indent (optional, default: