diff --git a/flake.nix b/flake.nix index 27d9097..a9fc3a0 100644 --- a/flake.nix +++ b/flake.nix @@ -212,17 +212,11 @@ # https://import-tree.oeiuwq.com/guides/filtering/ ). filterNot composes AND with that. # Skip /package/ and /packages/ (callPackage colocation). # Avoid a global "/home-manager/" filter — it would drop modules/ssh/home-manager/. - modulesTree = - lib.pipe inputs.import-tree [ - (it: it.withLib lib) - (it: - it.filterNot ( - p: - lib.hasInfix "/package/" p - || lib.hasInfix "/packages/" p - )) - (it: it ./modules) - ]; + modulesTree = lib.pipe inputs.import-tree [ + (it: it.withLib lib) + (it: it.filterNot (p: lib.hasInfix "/package/" p || lib.hasInfix "/packages/" p)) + (it: it ./modules) + ]; in inputs.flake-parts.lib.mkFlake { inherit inputs; } modulesTree; }