summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--krops.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/krops.nix b/krops.nix
index b93b8673..09553f31 100644
--- a/krops.nix
+++ b/krops.nix
@@ -92,8 +92,9 @@ rec {
source = lib.evalSource [ sources ];
# What a host with builders gets on the target, which it needs at run
- # time; everything else in sources is for evaluation.
- targetSources = { inherit (sources) secrets; };
+ # time: the sources named secrets*. Everything else is for evaluation.
+ targetSources =
+ lib.filterAttrs (name: _: lib.hasPrefix "secrets" name) sources;
deploy = hrm.legacy.deploy;
diff = hrm.legacy.diff;