Create a "desktop experience" software category

This commit is contained in:
Manuel Thalmann 2024-07-16 14:36:53 +02:00
parent 33d6077b9c
commit d6f7816840

View file

@ -13,7 +13,9 @@
let
inherit (cfg.software)
common
desktopExperience
school
server
;
in {
essential = mkOption {
@ -28,6 +30,18 @@
default = true;
};
server = mkOption {
type = types.bool;
description = "A value indicating whether server applications should be installed.";
default = false;
};
desktopExperience = mkOption {
type = types.bool;
description = "A value indicating whether GUI apps should be installed.";
default = common && !server;
};
school = mkOption {
type = types.bool;
description = "A value indicating whether software for studies should be installed.";
@ -43,19 +57,19 @@
socialMedia = mkOption {
type = types.bool;
description = "A value indicating whether social media apps should be installed.";
default = common;
default = common && desktopExperience;
};
media = mkOption {
type = types.bool;
description = "A value indicating whether media apps should be installed.";
default = common;
default = common && desktopExperience;
};
gaming = mkOption {
type = types.bool;
description = "A value indicating whether gaming apps should be installed.";
default = common;
default = common && desktopExperience;
};
coding = mkOption {