Fix qt theme

This commit is contained in:
ItsDrike 2024-06-23 18:11:45 +02:00
parent d796eea045
commit 6bedfed95c
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
3 changed files with 43 additions and 6 deletions

View file

@ -62,19 +62,31 @@ in
forceGtk = mkOption {
type = types.bool;
default = false;
description = "Whether to force QT applications to try and use the GTK theme.";
description = ''
Whether to force QT applications to try and use the GTK theme.
If false, qtct platform theme & Kvantum will be used instead.
'';
};
theme = {
name = mkOption {
type = types.str;
default = "Catppuccin-Mocha-Dark";
description = "The name for the QT theme package";
description = ''
The name for the QT theme package.
This has no effect if forceGtk is set.
'';
};
package = mkOption {
type = types.package;
description = "The theme package to be used for QT programs";
description = ''
The theme package to be used for QT programs.
This has no effect if forceGtk is set.
'';
default = pkgs.catppuccin-kde.override {
flavour = ["mocha"];
accents = ["blue"];