dotfiles/home/modules/gtk/default.nix
2025-01-14 16:17:42 -06:00

33 lines
648 B
Nix
Executable file

{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
;
};
gtk3Path = import (configPath + /gtk3.nix);
in {
gtk = {
enable = true;
gtk3 = gtk3Path;
cursorTheme = cursorThemePath;
iconTheme = iconThemePath;
theme = themePath;
};
home.pointerCursor = homeCursorPath;
}