lib/private: update implementation for importModules

This commit is contained in:
Gabriel Arazas 2023-09-26 22:32:57 +08:00
parent 81954f406f
commit 08b8492feb
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -61,5 +61,5 @@ rec {
"profiles"
];
in
lib.filterAttrs (n: v: !lib.elem n blocklist) (lib.mapAttrsRecursive (_: sopsFile: import sopsFile) attrs);
lib.attrsets.removeAttrs (lib.mapAttrsRecursive (_: sopsFile: import sopsFile) attrs) blocklist;
}