diff options
author | lassulus <lassulus@lassul.us> | 2021-12-15 09:14:44 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-12-15 09:14:44 +0100 |
commit | 446540617f007b2b6a40e48ee318d85fccfa74b4 (patch) | |
tree | 0d503f3765c987ac7ff5a9233a98fe369a3475d6 | |
parent | dfdcad10283396cdb0163ee16feedb3cb2404b94 (diff) |
l krops: create gcroot for deployed systems
-rw-r--r-- | lass/krops.nix | 4 |
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; |