summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-12-15 09:14:44 +0100
committerlassulus <lassulus@lassul.us>2021-12-15 09:14:44 +0100
commit446540617f007b2b6a40e48ee318d85fccfa74b4 (patch)
tree0d503f3765c987ac7ff5a9233a98fe369a3475d6
parentdfdcad10283396cdb0163ee16feedb3cb2404b94 (diff)
l krops: create gcroot for deployed systems
-rw-r--r--lass/krops.nix4
1 files changed, 3 insertions, 1 deletions
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 '<nixpkgs/nixos>' 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;