From 48ebb577855fb2398653f033b3b2208a9249203d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 4 Oct 2024 13:22:12 +0200 Subject: [PATCH] docs/interactive-vms: simplify usage to just one nix run --- docs/interactive-vm.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/docs/interactive-vm.md b/docs/interactive-vm.md index 4641f59..02d1244 100644 --- a/docs/interactive-vm.md +++ b/docs/interactive-vm.md @@ -5,13 +5,7 @@ config.system.build.vm). Simply import the disko module and build the vm runner with: ``` -nix build -L '.#nixosConfigurations.mymachine.config.system.build.vmWithDisko' -``` - -afterwards you can run the interactive VM with: - -``` -result/bin/disko-vm +nix run -L '.#nixosConfigurations.mymachine.config.system.build.vmWithDisko' ``` You can configure the VM using the `virtualisation.vmVariantWithDisko` NixOS