nix/modules/home/theme/default.nix
2024-06-02 12:10:28 +02:00

36 lines
671 B
Nix

{ config, nix-colors, pkgs, lib, ... }:
let
inherit
(nix-colors.lib-contrib { inherit pkgs; })
gtkThemeFromScheme;
in
{
gtk = {
enable = true;
theme = {
name = "${config.colorScheme.slug}";
package = gtkThemeFromScheme { scheme = config.colorScheme; };
};
iconTheme = {
package = pkgs.qogir-icon-theme;
name = "Qogir-dark";
};
};
qt = {
enable = true;
platformTheme.name = "gtk";
style = {
name = "gtk2";
package = pkgs.qt6Packages.qt6gtk2;
};
};
home.pointerCursor = {
package = pkgs.phinger-cursors;
name = "phinger-cursors";
size = 24;
gtk.enable = true;
};
}