nichts/modules/style/qt.nix

40 lines
809 B
Nix
Raw Normal View History

2024-05-22 14:29:45 +02:00
{
config,
lib,
pkgs,
...
2025-03-26 19:16:28 +01:00
}: let
inherit (lib.modules) mkIf;
inherit (lib) mkEnableOption mkOption;
inherit (lib.types) str package;
2025-03-31 11:25:40 +02:00
cfg = config.modules.theming.qt;
2024-04-10 17:39:26 +02:00
in {
2025-03-31 11:25:40 +02:00
options.modules.theming.qt = {
2025-03-26 19:16:28 +01:00
enable = mkEnableOption "qt theming";
name = mkOption {
description = "qt theme name";
default = "Catppuccin-Mocha-Dark";
type = str;
};
variant = mkOption {
description = "qt theme variant";
default = "mocha";
type = str;
};
accentColor = mkOption {
description = "accent colour for qt theme";
default = "green";
type = str;
};
package = mkOption {
description = "qt theme package";
default = pkgs.catppuccin-kde;
type = package;
};
};
2025-03-26 19:16:28 +01:00
config =
mkIf cfg.enable {
};
2024-04-10 17:39:26 +02:00
}