docs: fix typos in disko-images

This commit is contained in:
luojiyin committed 2026-03-05 12:12:09 +08:00
1 parent 5af7af10f1
commit d17b956f94
1 file changed
+3 -3
+3 -3
View File
@@ -8,7 +8,7 @@ Follow the steps below to generate disk images:
1. **Create a NixOS configuration that includes the disko and the disk 1. **Create a NixOS configuration that includes the disko and the disk
configuration of your choice** configuration of your choice**
In the this example we create a flake containing a nixos configuration for In this example we create a flake containing a nixos configuration for
`myhost`. `myhost`.
```nix ```nix
@@ -79,7 +79,7 @@ In the this example we create a flake containing a nixos configuration for
They will have the same permissions but will be owned by root:root They will have the same permissions but will be owned by root:root
* --build-memory <amt> * --build-memory <amt>
specify the amount of memory in MiB that gets allocated to the build VM specify the amount of memory in MiB that gets allocated to the build VM
This can be useful if you want to build images with a more involed NixOS config This can be useful if you want to build images with a more involved NixOS config
The default is 1024 MiB The default is 1024 MiB
``` ```
@@ -107,7 +107,7 @@ In the this example we create a flake containing a nixos configuration for
disko.devices.disk.<drive>.imageName = "nixos-x86_64-linux-generic-btrfs"; # Set your preferred name 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`. The image script 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: