2025-01-04 08:44:19 +03:00
|
|
|
{ lib, config, ... }:
|
|
|
|
let
|
|
|
|
purpose = config.module.purpose;
|
|
|
|
in
|
2024-11-16 04:43:59 +03:00
|
|
|
{
|
2024-12-18 09:40:11 +03:00
|
|
|
options.module.package = {
|
2025-01-04 08:44:19 +03:00
|
|
|
core = lib.mkEnableOption "Core apps." // {
|
|
|
|
default = true;
|
|
|
|
};
|
|
|
|
common = lib.mkEnableOption "Common Apps." // {
|
|
|
|
default = with purpose; desktop || laptop;
|
|
|
|
};
|
|
|
|
creative = lib.mkEnableOption "Creative Apps." // {
|
|
|
|
default = purpose.creative;
|
|
|
|
};
|
|
|
|
desktop = lib.mkEnableOption "Desktop Apps." // {
|
|
|
|
default = with purpose; desktop || laptop;
|
|
|
|
};
|
|
|
|
dev = lib.mkEnableOption "Dev Apps." // {
|
|
|
|
default = purpose.work;
|
|
|
|
};
|
|
|
|
gaming = lib.mkEnableOption "Gaming Apps." // {
|
|
|
|
default = purpose.gaming;
|
|
|
|
};
|
2024-12-18 09:40:11 +03:00
|
|
|
extra = lib.mkEnableOption "Extra Apps.";
|
|
|
|
};
|
2024-11-16 04:43:59 +03:00
|
|
|
}
|