diff --git a/docs/disko-images.md b/docs/disko-images.md index 6ad71e7..e43f113 100644 --- a/docs/disko-images.md +++ b/docs/disko-images.md @@ -61,15 +61,15 @@ In the this example we create a flake containing a nixos configuration for Options: * --pre-format-files copies the src to the dst on the VM, before disko is run - This is useful to provide secrets like LUKS keys, or other files you need for formating + This is useful to provide secrets like LUKS keys, or other files you need for formatting * --post-format-files copies the src to the dst on the finished image These end up in the images later and is useful if you want to add some extra stateful files They will have the same permissions but will be owned by root:root - * --build-memory - specify the ammount of memory that gets allocated to the build vm (in mb) - This can be usefull if you want to build images with a more involed NixOS config - By default the vm will get 1024M/1GB + * --build-memory + 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 + The default is 1024 MiB ``` An example run may look like this: diff --git a/lib/make-disk-image.nix b/lib/make-disk-image.nix index 9a7695e..d217af0 100644 --- a/lib/make-disk-image.nix +++ b/lib/make-disk-image.nix @@ -122,15 +122,15 @@ in Options: * --pre-format-files copies the src to the dst on the VM, before disko is run - This is useful to provide secrets like LUKS keys, or other files you need for formating + This is useful to provide secrets like LUKS keys, or other files you need for formatting * --post-format-files copies the src to the dst on the finished image These end up in the images later and is useful if you want to add some extra stateful files They will have the same permissions but will be owned by root:root * --build-memory - specify the ammount of memory that gets allocated to the build vm (in mb) - This can be usefull if you want to build images with a more involed NixOS config - By default the vm will get 1024M/1GB + 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 + The default is 1024 MiB USAGE }