mirror of
https://github.com/nix-community/disko.git
synced 2026-12-01 05:23:28 +01:00
make-disk-image: convert into NixOS module
As `makeDiskImages` always requires a NixOS configuration, we can simplify the code by convering it into a NixOS module. Then we can make it responsible for populating `system.build.diskoImages` and `system.build.diskoImagesScript`.
This commit is contained in:
1 parent
4ef99d8ec4
commit
cc4d4a4b91
7 files changed
+193
-165
No files matched your search
+1
-1
@@ -19,7 +19,7 @@
|
||||
imageSize = lib.mkOption {
|
||||
type = lib.types.strMatching "[0-9]+[KMGTP]?";
|
||||
description = ''
|
||||
size of the image if the makeDiskImages function from diksoLib is used.
|
||||
size of the image when disko images are created
|
||||
is used as an argument to "qemu-img create ..."
|
||||
'';
|
||||
default = "2G";
|
||||
|
||||
Reference in new issue
Block a user