l krops: create gcroot for deployed systems

This commit is contained in:
lassulus 2021-12-15 09:14:44 +01:00
parent dfdcad1028
commit 446540617f

View File

@ -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;