niksos/modules/gui/gtk.nix

40 lines
943 B
Nix
Raw Normal View History

2023-09-08 16:10:15 +02:00
{
config,
pkgs,
2023-09-09 00:05:59 +02:00
config',
2023-09-08 16:10:15 +02:00
...
}: {
gtk = {
enable = true;
theme = {
2023-09-09 00:05:59 +02:00
name = config'.gtk-theme;
2023-09-08 16:10:15 +02:00
package = pkgs.catppuccin-gtk.override {
size = "standard";
accents = [ "green" ];
variant = "mocha";
tweaks = [ "normal" ];
};
};
iconTheme = {
name = "Papirus-Dark";
package = pkgs.catppuccin-papirus-folders.override {
accent = "green";
flavor = "mocha";
};
};
};
home = {
sessionVariables = {
2023-09-09 00:05:59 +02:00
GTK_THEME = config.gtk.theme.name;
2023-09-08 16:10:15 +02:00
GTK_USE_PORTAL = "1";
};
pointerCursor = {
package = pkgs.bibata-cursors;
name = "Bibata-Modern-Classic";
size = 24;
gtk.enable = true;
x11.enable = true;
};
};
}