45 lines
1,006 B
Nix
45 lines
1,006 B
Nix
|
{
|
||
|
pkgs,
|
||
|
lib,
|
||
|
...
|
||
|
}: let
|
||
|
inherit (lib) mkOption mkEnableOption types;
|
||
|
in {
|
||
|
imports = [
|
||
|
./gtk.nix
|
||
|
./qt.nix
|
||
|
./colors.nix
|
||
|
];
|
||
|
|
||
|
options.modules.style = {
|
||
|
forceGtk = mkEnableOption "Force GTK applications to use the GTK theme";
|
||
|
useKvantum = mkEnableOption "Use Kvantum to theme QT applications";
|
||
|
|
||
|
pointerCursor = {
|
||
|
package = mkOption {
|
||
|
type = types.package;
|
||
|
description = "The package providing the cursors";
|
||
|
default = pkgs.catppuccin-cursors.mochaDark;
|
||
|
};
|
||
|
|
||
|
name = mkOption {
|
||
|
type = types.str;
|
||
|
description = "The name of the cursor inside the package";
|
||
|
default = "Catppuccin-Mocha-Dark-Cursors";
|
||
|
};
|
||
|
|
||
|
size = mkOption {
|
||
|
type = types.int;
|
||
|
description = "The size of the cursor";
|
||
|
default = 24;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
wallpapers = mkOption {
|
||
|
type = with types; either str (listOf str);
|
||
|
description = "Wallpaper or wallpapers to use";
|
||
|
default = [];
|
||
|
};
|
||
|
};
|
||
|
}
|