mirror of
https://github.com/nix-community/disko.git
synced 2026-12-02 05:53:28 +01:00
Add virtualisation.vmVariantWithDisko option
This commit is contained in:
1 parent
e55f9a8678
commit
ba66c22ec1
4 files changed
+63
-46
No files matched your search
@@ -12,6 +12,16 @@ afterwards you can run the interactive VM with:
|
||||
result/bin/disko-vm
|
||||
```
|
||||
|
||||
You can configure the VM using the `virtualisation.vmVariantWithDisko` NixOS option:
|
||||
|
||||
```nix
|
||||
{
|
||||
virtualisation.vmVariantWithDisko = {
|
||||
virtualisation.fileSystems."/persist".neededForBoot = true;
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
extraConfig 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 disk type in your disko config.
|
||||
memorySize is set by disko.memSize
|
||||
Reference in new issue
Block a user