Create a "desktop experience" software category

This commit is contained in:
Manuel Thalmann 2024-07-16 14:36:53 +02:00
parent e941da3112
commit 491c41bb7c

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 {