mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-10 07:25: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;
|
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:
|
# Utility function that takes two attrsets:
|
||||||
# { someKey = "some_value" } and
|
# { someKey = "some_value" } and
|
||||||
# { someKey = { description = "Some Description"; }; }
|
# { someKey = { description = "Some Description"; }; }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue