mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2025-01-09 17:29:31 +00:00
TODO notes: flake: config contrain algorithm
This commit is contained in:
parent
b0bb84138b
commit
d281f51775
|
@ -57,6 +57,8 @@
|
||||||
};
|
};
|
||||||
constrainImportsArgsRecursive = lib.attrsets.mapAttrsRecursive
|
constrainImportsArgsRecursive = lib.attrsets.mapAttrsRecursive
|
||||||
(p: v:
|
(p: v:
|
||||||
|
# TODO traverse only imports and imports of imports, etc
|
||||||
|
# without traversing all attributes
|
||||||
if lib.lists.last p == "imports"
|
if lib.lists.last p == "imports"
|
||||||
then
|
then
|
||||||
map
|
map
|
||||||
|
|
Loading…
Reference in a new issue