make-disk-image: inherit kernel from nixosConfiguration

This commit is contained in:
matthewcroughan
2023-12-14 12:01:52 +00:00
committed by mergify[bot]
parent d5cf2e3d61
commit bb75ad0b1d
2 changed files with 14 additions and 2 deletions

View File

@@ -10,6 +10,13 @@ let
in
{
options.disko = {
extraRootModules = lib.mkOption {
type = lib.types.listOf lib.types.str ;
description = ''
extra modules to pass to the vmTools.runCommand invocation in the make-disk-image.nix builder
'';
default = [];
};
memSize = lib.mkOption {
type = lib.types.int;
description = ''