Partial way to unifying nixos and home-manager modules
This commit is contained in:
1 parent
5c609ddd42
commit
882c04a6bf
8 files changed
+121
-66
No files matched your search
@@ -11,6 +11,8 @@ rec {
|
||||
# (name -> value -> bool)
|
||||
# (name -> value -> { name = any; value = any; })
|
||||
# attrs
|
||||
# Generate an attribute set by mapping a function (f) to it and then filter
|
||||
# by the predicate (pred)
|
||||
mapFilterAttrs = pred: f: attrs: filterAttrs pred (mapAttrs' f attrs);
|
||||
|
||||
# Generate an attribute set by mapping a function over a list of values.
|
||||
|
||||
Reference in new issue
Block a user