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