mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 09:04:12 +02:00
add options for enabling/disabling apps
This commit is contained in:
parent
44ae8ebae5
commit
036232285c
4 changed files with 44 additions and 2 deletions
|
|
@ -13,6 +13,8 @@ with lib; let
|
|||
auto_setup = {
|
||||
enabled = cfg.autoSetup.enable;
|
||||
post_setup = cfg.autoSetup.postSetup;
|
||||
enable_apps = cfg.autoSetup.enableApps;
|
||||
disable_apps = cfg.autoSetup.disableApps;
|
||||
};
|
||||
volume =
|
||||
map (volume: {
|
||||
|
|
@ -64,9 +66,19 @@ in {
|
|||
options = {
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
default = true;
|
||||
description = "Enable auto setup";
|
||||
};
|
||||
enableApps = mkOption {
|
||||
type = types.listOf types.str;
|
||||
default = [];
|
||||
description = "Apps to enable post-setup";
|
||||
};
|
||||
disableApps = mkOption {
|
||||
type = types.listOf types.str;
|
||||
default = [];
|
||||
description = "Apps to enable post-setup";
|
||||
};
|
||||
postSetup = mkOption {
|
||||
type = types.listOf types.str;
|
||||
default = [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue