From 446540617f007b2b6a40e48ee318d85fccfa74b4 Mon Sep 17 00:00:00 2001 From: lassulus Date: Wed, 15 Dec 2021 09:14:44 +0100 Subject: l krops: create gcroot for deployed systems --- lass/krops.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lass/krops.nix b/lass/krops.nix index 769112706..4abd010e1 100644 --- a/lass/krops.nix +++ b/lass/krops.nix @@ -46,7 +46,9 @@ in { -f '' config.system.build.toplevel \ -o "$outDir/out" - $outDir/out/bin/switch-to-configuration switch + nix-env -p /nix/var/nix/profiles/system --set "$outDir/out" + + "$outDir/out/bin/switch-to-configuration" switch ''; source = source { test = false; }; allocateTTY = true; -- cgit v1.2.3