nixos/malte/gtk.nix

43 lines
937 B
Nix

{ pkgs, ... }:
rec {
home.packages = with pkgs; [ numix-cursor-theme gtk-engine-murrine ];
gtk = {
enable = true;
theme = {
package =
pkgs.callPackage ../pkgs/gruvbox-material-gtk.nix { hiDpi = true; };
name = "gruvbox-material";
};
iconTheme = {
package = pkgs.callPackage ../pkgs/gruvbox-material-icons.nix { };
name = "Gruvbox-Material-Dark";
};
gtk2 = {
extraConfig = ''
gtk-cursor-theme-name = "Numix-Cursor-Light"
gtk-cursor-theme-size = 48
'';
};
gtk3 = {
bookmarks = [
];
extraConfig = {
gtk-cursor-theme-name = "Numix-Cursor-Light";
gtk-cursor-theme-size = 48;
};
};
};
dconf.settings = {
"org/gnome/desktop/interface" = {
gtk-theme = gtk.theme.name;
icon-theme = gtk.iconTheme.name;
cursor-theme = gtk.gtk3.extraConfig.gtk-cursor-theme-name;
};
};
}