summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-27 18:50:29 +0000
committertv <tv@krebsco.de>2026-11-27 21:08:27 +0000
commit24bef8ac1990d1bccc5ed64a082b81a68ce32c9a (patch)
tree2f859da79fbf7f784094b1accdc24d2dafde9ea1
parent62d139359a6cfd70bd8a48579720662c9d480ba3 (diff)
krops.nix: deliver every secrets source to the target
-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;