diff --git a/lib/private.nix b/lib/private.nix index 49a10a44..ff50d0f9 100644 --- a/lib/private.nix +++ b/lib/private.nix @@ -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; }