dotfiles/home/modules/gui/desktop/gtk/default.nix

38 lines
681 B
Nix
Raw Normal View History

2025-01-18 17:05:54 -06:00
{ pkgs, flake, ... }:
let
2025-01-08 19:06:14 -06:00
configPath = ./config;
cursorThemePath = import (configPath + /cursorTheme.nix) {
inherit
2025-01-20 23:33:35 -06:00
flake
2025-01-08 19:06:14 -06:00
pkgs
;
};
iconThemePath = import (configPath + /iconTheme.nix) {
inherit
pkgs
;
};
themePath = import (configPath + /theme.nix) {
inherit
pkgs
;
};
homeCursorPath = import (configPath + /homeCursor.nix) {
inherit
2025-01-18 17:05:54 -06:00
flake
2025-01-08 19:06:14 -06:00
pkgs
;
};
2025-01-14 16:17:42 -06:00
gtk3Path = import (configPath + /gtk3.nix);
2025-01-18 17:05:54 -06:00
in
{
2025-01-08 19:06:14 -06:00
gtk = {
enable = true;
2025-01-14 16:17:42 -06:00
gtk3 = gtk3Path;
2025-01-08 19:06:14 -06:00
cursorTheme = cursorThemePath;
iconTheme = iconThemePath;
theme = themePath;
};
home.pointerCursor = homeCursorPath;
}