niksos/modules/gui/gtk.nix

39 lines
943 B
Nix

{
config,
pkgs,
config',
...
}: {
gtk = {
enable = true;
theme = {
name = config'.gtk-theme;
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 = {
GTK_THEME = config.gtk.theme.name;
GTK_USE_PORTAL = "1";
};
pointerCursor = {
package = pkgs.bibata-cursors;
name = "Bibata-Modern-Classic";
size = 24;
gtk.enable = true;
x11.enable = true;
};
};
}