diff options
Diffstat (limited to 'krops.nix')
| -rw-r--r-- | krops.nix | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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; |
