{ pkgs, lib, config, ty-home-manager-options, ... }: { config = lib.mkIf ty-home-manager-options.plasma.enable { gtk = { enable = true; gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc"; 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 {}); }; }; # 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; }; }