summaryrefslogtreecommitdiffstats
path: root/lass/krops.nix
diff options
context:
space:
mode:
Diffstat (limited to 'lass/krops.nix')
-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;