# SPDX-FileCopyrightText: 2022 Richard Brežák # # SPDX-License-Identifier: LGPL-3.0-or-later { lib, ... }: { flake.libOverlays.loadSecrets = final: prev: (lib.traceVal { loadSecrets = path: if builtins.pathExists "${path}/default.nix" then import path { lib = final; } else {}; }); }