make-disk-image: allow extra dependencies to be passed into image builder

This commit is contained in:
matthewcroughan authored and mergify[bot] committed 2023-12-14 14:24:37 +00:00
1 parent bb75ad0b1d
commit 4c4634bbcb
2 files changed
+8 -1

No files matched your search

+7
View File
@@ -29,6 +29,13 @@ in
default = { };
description = "The devices to set up";
};
extraDependencies = lib.mkOption {
type = lib.types.listOf lib.types.package;
description = ''
list of extra packages to make available in the make-disk-image.nix VM builder, an example might be f2fs-tools
'';
default = [];
};
rootMountPoint = lib.mkOption {
type = lib.types.str;
default = "/mnt";