nix/home-manager/config/gtk.nix

27 lines
934 B
Nix
Raw Normal View History

2024-12-15 22:43:55 -07:00
{ pkgs, lib, config, ... }:
2024-12-02 03:57:34 -07:00
{
2024-12-15 22:43:55 -07:00
config = lib.mkIf config.meta.home-manager.desktop.enable {
gtk = {
enable = true;
2024-12-02 03:57:34 -07:00
gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
2024-12-02 03:57:34 -07:00
2024-12-15 22:43:55 -07:00
theme = lib.mkIf config.meta.home-manager.desktop.plasma.enable {
name = "Breeze-Dark";
package = pkgs.kdePackages.breeze-gtk;
};
cursorTheme = {
name = "Vimix-cursors";
package = pkgs.vimix-cursors;
size = 24;
};
iconTheme = {
name = "beautyline-garuda";
package = (pkgs.callPackage ../../packages/beautyline {});
};
2024-12-02 03:57:34 -07:00
};
2024-12-04 13:44:33 -07:00
# Tell home-manager to force overwrite the gtk2 configuration as it keeps getting overwritten by something (likely plasma)
home.file.${config.gtk.gtk2.configLocation}.force = true;
};
2024-12-02 03:57:34 -07:00
}