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;