mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-21 23:54:22 +01:00
Remove trace in load_secrets
Signed-off-by: magic_rb <magic_rb@redalder.org>
This commit is contained in:
parent
d89deacd3e
commit
20c846f80f
|
@ -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!" {};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue