dotfiles/home/modules/gtk/default.nix

32 lines
581 B
Nix
Raw Normal View History

2025-01-08 19:06:14 -06:00
{pkgs, ...}: let
configPath = ./config;
cursorThemePath = import (configPath + /cursorTheme.nix) {
inherit
pkgs
;
};
iconThemePath = import (configPath + /iconTheme.nix) {
inherit
pkgs
;
};
themePath = import (configPath + /theme.nix) {
inherit
pkgs
;
};
homeCursorPath = import (configPath + /homeCursor.nix) {
inherit
pkgs
;
};
in {
gtk = {
enable = true;
cursorTheme = cursorThemePath;
iconTheme = iconThemePath;
theme = themePath;
};
home.pointerCursor = homeCursorPath;
}