Remove trace in load_secrets

Signed-off-by: magic_rb <magic_rb@redalder.org>
This commit is contained in:
magic_rb 2024-03-02 23:09:36 +01:00
parent d89deacd3e
commit 20c846f80f
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -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!" {};
};