Revert "nixos/qemu-vm: support nix run"

This reverts commit 02590c9620.

02590c9620 (commitcomment-42078853)
This commit is contained in:
worldofpeace 2020-09-06 19:45:10 -04:00
parent ce6bc4dbc7
commit dd2727773a

View file

@ -702,7 +702,7 @@ in
services.qemuGuest.enable = cfg.qemu.guestAgent.enable;
system.build.vm = pkgs.runCommand "run-${config.system.name}-vm" { preferLocalBuild = true; }
system.build.vm = pkgs.runCommand "nixos-vm" { preferLocalBuild = true; }
''
mkdir -p $out/bin
ln -s ${config.system.build.toplevel} $out/system