diff options
-rw-r--r-- | modules/corenix/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/corenix/default.nix b/modules/corenix/default.nix index ff7acb1e950b..d87a83ecaa45 100644 --- a/modules/corenix/default.nix +++ b/modules/corenix/default.nix @@ -30,6 +30,11 @@ in { default = {}; }; + package = mkOption { + type = types.package; + default = pkgs.coreboot; + }; + rom = mkOption { readOnly = true; type = types.path; @@ -54,7 +59,7 @@ in { ) filesList; corenix.rom = let - base = pkgs.coreboot.override { + base = cfg.package.override { inherit (cfg) corebootConfig; }; in pkgs.runCommand "coreboot-rom" { |