mirror of
https://github.com/nix-community/disko.git
synced 2026-12-02 14:03:28 +01:00
docs/interactive-vms: simplify usage to just one nix run
This commit is contained in:
1 parent
28c5af1e16
commit
48ebb57785
1 file changed
+1
-7
@@ -5,13 +5,7 @@ config.system.build.vm). Simply import the disko module and build the vm runner
|
|||||||
with:
|
with:
|
||||||
|
|
||||||
```
|
```
|
||||||
nix build -L '.#nixosConfigurations.mymachine.config.system.build.vmWithDisko'
|
nix run -L '.#nixosConfigurations.mymachine.config.system.build.vmWithDisko'
|
||||||
```
|
|
||||||
|
|
||||||
afterwards you can run the interactive VM with:
|
|
||||||
|
|
||||||
```
|
|
||||||
result/bin/disko-vm
|
|
||||||
```
|
```
|
||||||
|
|
||||||
You can configure the VM using the `virtualisation.vmVariantWithDisko` NixOS
|
You can configure the VM using the `virtualisation.vmVariantWithDisko` NixOS
|
||||||
|
|||||||
Reference in new issue
Block a user