mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 09:04:12 +02:00
allow custom pre-setup config options
This commit is contained in:
parent
80d71bd7a0
commit
b3a1e80f6f
5 changed files with 25 additions and 5 deletions
|
|
@ -12,7 +12,7 @@ with lib; let
|
|||
app_directories = cfg.appDirectories;
|
||||
work_dir = cfg.workDir;
|
||||
auto_setup = {
|
||||
enabled = cfg.autoSetup.enable;
|
||||
inherit (cfg.autoSetup) enable config;
|
||||
post_setup = cfg.autoSetup.postSetup;
|
||||
enable_apps = cfg.autoSetup.enableApps;
|
||||
disable_apps = cfg.autoSetup.disableApps;
|
||||
|
|
@ -91,6 +91,13 @@ in {
|
|||
default = [];
|
||||
description = "Commands to run post-setup";
|
||||
};
|
||||
config = mkOption {
|
||||
type = types.submodule {
|
||||
freeformType = format.type;
|
||||
};
|
||||
description = "Configuration options to set before install";
|
||||
default = {};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue