mirror of
https://github.com/nix-community/disko.git
synced 2026-12-02 14:03:28 +01:00
chore: small improvements in interactive-vm.md
This commit is contained in:
1 parent
b36e87600d
commit
ddbe63d43e
1 file changed
+6
-5
@@ -1,10 +1,10 @@
|
|||||||
# Running Interactive VMs with disko
|
# Running Interactive VMs with `disko`
|
||||||
|
|
||||||
disko now exports its own flavor of interactive VMs (similiar to
|
disko now exports its own flavor of interactive VMs (similiar to
|
||||||
config.system.build.vm). Simply import the disko module and build the vm runner
|
config.system.build.vm). Simply import the disko module and build the vm runner
|
||||||
with:
|
with:
|
||||||
|
|
||||||
```
|
```bash
|
||||||
nix run -L '.#nixosConfigurations.mymachine.config.system.build.vmWithDisko'
|
nix run -L '.#nixosConfigurations.mymachine.config.system.build.vmWithDisko'
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -21,6 +21,7 @@ option:
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
extraConfig that is set in disko.tests.extraConfig is also applied to the
|
Extra configuration that is set in `disko.tests.extraConfig` is also applied to the
|
||||||
interactive VMs. imageSize of the VMs will be determined by the imageSize in the
|
interactive VMs. The image size of the VMs will be determined by the
|
||||||
disk type in your disko config. memorySize is set by disko.memSize
|
`disko.devices.disk.<name>.imageSize`
|
||||||
|
specifications. The memory size is set by `disko.memSize`.
|
||||||
Reference in new issue
Block a user