diff --git a/lib/load_secrets.nix b/lib/load_secrets.nix index 162018d..04511ef 100644 --- a/lib/load_secrets.nix +++ b/lib/load_secrets.nix @@ -4,7 +4,7 @@ {lib, ...}: { flake.libOverlays.loadSecrets = final: prev: { loadSecrets = path: - if builtins.trace (builtins.readDir path) (builtins.pathExists "${path}/default.nix") + if builtins.pathExists "${path}/default.nix" then import path {lib = final;} else builtins.trace "Not loading secrets!" {}; };