From 34f8572fe46e2d009e38d1f3412d5d520b3aba63 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 26 Nov 2026 14:17:40 +0000 Subject: krops.nix: evaluate with the target's secret directory A host with builders is evaluated on the deploying host, without , which stockholm resolves for krebs.secret.directory. --- krops.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'krops.nix') diff --git a/krops.nix b/krops.nix index 6cefe637..eafa6c76 100644 --- a/krops.nix +++ b/krops.nix @@ -273,6 +273,7 @@ rec { drv=$(nix-instantiate \ --show-trace \ --add-root "$host_cache"/roots/"$name".drv \ + --argstr secretDirectory ${q "${target'.path}/secrets"} \ --attr nixosConfigurations."$name".config.system.build.toplevel \ '') # nix-instantiate prints the GC root, a link to the derivation here. -- cgit v1.3.1