nix/home-manager/modules/gtk.nix

27 lines
901 B
Nix
Raw Normal View History

{ pkgs, lib, config, ty-home-manager-options, ... }:
2024-12-02 03:57:34 -07:00
{
config = lib.mkIf ty-home-manager-options.plasma.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
theme = {
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
}