mirror of
https://github.com/nix-community/disko.git
synced 2026-12-02 14:03:28 +01:00
docs: add docs on how to use imageName in disk type.
This commit is contained in:
1 parent
ef408f7f9a
commit
3b778f10eb
1 file changed
+8
@@ -90,6 +90,14 @@ In the this example we create a flake containing a nixos configuration for
|
|||||||
|
|
||||||
## Additional Configuration
|
## Additional Configuration
|
||||||
|
|
||||||
|
- For custom image name output, define the image name in your Disko configuration:
|
||||||
|
|
||||||
|
```console
|
||||||
|
disko.devices.disk.<drive>.imageName = "nixos-x86_64-linux-generic-btrfs"; # Set your preferred name
|
||||||
|
```
|
||||||
|
|
||||||
|
The image scirpt will produce `nixos-x86_64-linux-generic-btrfs.raw` instead of `<drive>.raw`.
|
||||||
|
|
||||||
- For virtual drive use, define the image size in your Disko configuration:
|
- For virtual drive use, define the image size in your Disko configuration:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
|
|||||||
Reference in new issue
Block a user