nix/modules/wm/gtk/default.nix

25 lines
509 B
Nix
Raw Permalink Normal View History

2024-11-24 21:35:15 +01:00
{
pkgs,
config,
lib,
username,
...
}: let
gruvboxPlus = import ./gruvbox-plus.nix {inherit pkgs;};
in {
config = lib.mkIf config.theme.enable {
home-manager.users.${username} = {
home.file = {
".local/share/icons/GruvboxPlus".source = "${gruvboxPlus}";
};
gtk = {
enable = true;
iconTheme.package = gruvboxPlus;
iconTheme.name = "GruvboxPlus";
gtk2.configLocation = "/home/${username}/.config/gtk-2.0/gtkrc";
};
};
};
}