mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-09 23:15:30 +00:00
Merge pull request #129 from jacekpoz/main
This commit is contained in:
commit
281f1cdb91
1 changed files with 7 additions and 0 deletions
|
|
@ -40,6 +40,13 @@ in
|
|||
inherit default description;
|
||||
};
|
||||
|
||||
mkMultipleMappingOption = description: defaults:
|
||||
self.mkOption {
|
||||
type = self.types.nullOr self.types.listOf self.types.str;
|
||||
default = defaults;
|
||||
inherit description;
|
||||
};
|
||||
|
||||
# Utility function that takes two attrsets:
|
||||
# { someKey = "some_value" } and
|
||||
# { someKey = { description = "Some Description"; }; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue