nichts/modules/options/style/qt.nix

33 lines
698 B
Nix
Raw Normal View History

{
lib,
pkgs,
...
2024-08-16 23:31:12 +02:00
}: let
inherit (lib) mkEnableOption mkOption;
inherit (lib.types) str package;
in {
2024-08-16 23:31:12 +02:00
options.modules.usrEnv.style.qt = {
enable = mkEnableOption "qt theming";
name = mkOption {
description = "qt theme name";
2024-08-16 23:31:12 +02:00
default = "Catppuccin-Mocha-Dark";
type = str;
};
variant = mkOption {
description = "qt theme variant";
2024-08-16 23:31:12 +02:00
default = "mocha";
type = str;
};
accentColor = mkOption {
description = "accent colour for qt theme";
2024-08-16 23:31:12 +02:00
default = "green";
type = str;
};
package = mkOption {
description = "qt theme package";
2024-08-16 23:31:12 +02:00
default = pkgs.catppuccin-kde;
type = package;
};
};
}