modules/theme: update default gtk themes

This commit is contained in:
Anthony Rodriguez 2024-12-06 13:06:35 +01:00
parent 56bc4f35ed
commit 5027580f06
Signed by: nezia
GPG key ID: EE3BE97C040A86CE

View file

@ -5,10 +5,8 @@
pkgs,
...
}: let
inherit (builtins) pathExists;
inherit (lib) mkIf mkOption;
inherit (lib) mkIf mkOption pathExists;
inherit (lib.types) bool package str;
cfg = config.theme.gtk;
in {
options.theme.gtk = {
@ -21,20 +19,16 @@ in {
name = mkOption {
type = str;
description = "Name for the GTK theme";
default = "catppuccin-macchiato-lavender-standard";
default = "rose-pine";
};
package = mkOption {
type = package;
description = "Package providing the GTK theme";
default = pkgs.catppuccin-gtk.override {
# https://github.com/NixOS/nixpkgs/blob/nixos-23.05/pkgs/data/themes/catppuccin-gtk/default.nix
variant = "macchiato";
accents = ["lavender"];
size = "standard";
};
default = pkgs.rose-pine-gtk-theme;
};
};
iconTheme = {
name = mkOption {
type = str;
@ -45,10 +39,7 @@ in {
package = mkOption {
type = package;
description = "The GTK icon theme to be used";
default = pkgs.catppuccin-papirus-folders.override {
accent = "lavender";
flavor = "macchiato";
};
default = pkgs.papirus-icon-theme;
};
};
};