nixos/modules/home/gtk.nix
2026-09-01 19:04:53 +02:00

24 lines
585 B
Nix

{ pkgs, config, inputs, ... }: {
gtk = {
enable = true;
colorScheme = "dark";
theme = {
name = "adw-gtk3-dark";
package = pkgs.adw-gtk3;
};
iconTheme = {
name = "Papirus-Dark";
package = pkgs.papirus-icon-theme;
};
font = {
name = config.theming.font;
package = config.theming.fontPackage;
size = 12;
};
cursorTheme.name = "macOS";
cursorTheme.size = 24;
gtk3.extraCss = builtins.readFile (config.scheme inputs.tt-gtk);
gtk4.extraCss = builtins.readFile (config.scheme inputs.tt-gtk);
};
}