From 88b015b9eb65edefc0b6501980a3d53cd1764637 Mon Sep 17 00:00:00 2001 From: Michael Hoang Date: Tue, 17 Sep 2024 09:50:44 +0700 Subject: [PATCH] make-disk-image: fix spelling for `--help` --- docs/disko-images.md | 10 +++++----- lib/make-disk-image.nix | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) 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 }