From 45156e2bdb359c22398f8c7a60fb729ad168786a Mon Sep 17 00:00:00 2001 From: Chris Wells Date: Thu, 25 Jan 2024 11:26:31 -0600 Subject: This distribution is coming together --- modules/installer.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'modules/installer.nix') diff --git a/modules/installer.nix b/modules/installer.nix index f5c93ba..2fcc546 100644 --- a/modules/installer.nix +++ b/modules/installer.nix @@ -8,9 +8,12 @@ in { ]; options.installer = { - package = mkPackageOption pkgs [ "kobo" "install" ] // { - apply = x: x.override { + package = mkOption { + type = types.package; + default = pkgs.callpackage ./installScript.nix { + koboInput = null; koboLabel = cfg.koboLabel; + koboManifest = config.manifest; }; }; -- cgit v1.2.3