nichts/modules/style/qt.nix
Bloxx12 53aaa26fa1 flake: inherit explicitly from parts of lib
Instead of doing `inherit (lib) <something>``, all inherits now use
`inherit (lib.<subsystem>) <something>`, which is much nicer.
2025-04-09 16:13:31 +02:00

40 lines
818 B
Nix

{
config,
lib,
pkgs,
...
}: let
inherit (lib.modules) mkIf;
inherit (lib.options) mkEnableOption mkOption;
inherit (lib.types) str package;
cfg = config.modules.theming.qt;
in {
options.modules.theming.qt = {
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;
};
};
config =
mkIf cfg.enable {
};
}