39 lines
796 B
Nix
39 lines
796 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
gtk = {
|
|
enable = true;
|
|
theme = {
|
|
name = "adw-gtk3-dark";
|
|
package = pkgs.adw-gtk3;
|
|
};
|
|
iconTheme = {
|
|
name = "Papirus-Dark";
|
|
package = pkgs.papirus-icon-theme;
|
|
};
|
|
cursorTheme = {
|
|
name = "capitaine-cursors";
|
|
package = pkgs.capitaine-cursors;
|
|
size = 24;
|
|
};
|
|
gtk3.extraConfig.gtk-application-prefer-dark-theme = true;
|
|
gtk4.extraConfig.gtk-application-prefer-dark-theme = true;
|
|
};
|
|
|
|
# Make Qt apps follow the GTK theme.
|
|
qt = {
|
|
enable = true;
|
|
platformTheme.name = "gtk";
|
|
style = {
|
|
name = "adwaita-dark";
|
|
package = pkgs.adwaita-qt;
|
|
};
|
|
};
|
|
|
|
home.sessionVariables = {
|
|
GTK_THEME = "adw-gtk3-dark";
|
|
XCURSOR_THEME = "capitaine-cursors";
|
|
XCURSOR_SIZE = "24";
|
|
};
|
|
}
|