44 lines
1.2 KiB
Nix
44 lines
1.2 KiB
Nix
{
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: let
|
|
themes = {
|
|
gtk-theme = pkgs.gruvbox-material-gtk-theme;
|
|
kvantum-theme = pkgs.gruvbox-kvantum.override {
|
|
variant = "Gruvbox-Dark-Green";
|
|
};
|
|
icon-theme = pkgs.gruvbox-plus-icons;
|
|
cursor-theme = pkgs.simp1e-cursors;
|
|
};
|
|
in {
|
|
programs.dconf = {
|
|
profiles.user.databases = [
|
|
{
|
|
settings = {
|
|
"org/gnome/desktop/interface" = {
|
|
color-scheme = "prefer-dark";
|
|
cursor-size = lib.gvariant.mkUint32 24;
|
|
cursor-theme = "Simp1e-Gruvbox-Dark";
|
|
icon-theme = "Gruvbox-Plus-Dark";
|
|
gtk-theme = "Gruvbox-Material-Dark";
|
|
};
|
|
};
|
|
}
|
|
];
|
|
enable = true;
|
|
};
|
|
|
|
qt = {
|
|
enable = true;
|
|
platformTheme = "qt5ct";
|
|
style = "kvantum";
|
|
};
|
|
|
|
environment.systemPackages = builtins.attrValues themes;
|
|
systemd.user.tmpfiles.rules = [
|
|
"L+ %h/.config/gtk-4.0/gtk.css - - - - ${themes.gtk-theme}/share/themes/Gruvbox-Material-Dark/gtk-4.0/gtk.css"
|
|
"L+ %h/.config/gtk-4.0/assets - - - - ${themes.gtk-theme}/share/themes/Gruvbox-Material-Dark/gtk-4.0/assets"
|
|
"L+ %h/.config/Kvantum/Gruvbox-Dark-Green - - - - ${themes.kvantum-theme}/share/Kvantum/Gruvbox-Dark-Green/"
|
|
];
|
|
}
|