2023-10-01 15:17:46 +02:00
|
|
|
{ lib, pkgs, ... }:
|
|
|
|
|
|
|
|
let commonGtkSettings.gtk-application-prefer-dark-theme = 1;
|
|
|
|
in {
|
|
|
|
home.packages = with pkgs; [ dconf ];
|
|
|
|
home.pointerCursor.gtk.enable = true;
|
|
|
|
|
|
|
|
dconf = {
|
|
|
|
enable = true;
|
|
|
|
settings."org/gnome/desktop/interface".color-scheme = "prefer-dark";
|
|
|
|
};
|
|
|
|
|
|
|
|
gtk = {
|
|
|
|
enable = true;
|
|
|
|
iconTheme = {
|
|
|
|
name = "Adwaita";
|
|
|
|
package = pkgs.gnome.adwaita-icon-theme;
|
|
|
|
};
|
2023-10-03 23:15:03 +02:00
|
|
|
gtk2.extraConfig = lib.generators.toINIWithGlobalSection { } {
|
2023-10-01 15:17:46 +02:00
|
|
|
globalSection = commonGtkSettings;
|
|
|
|
sections = { };
|
|
|
|
};
|
2023-10-03 23:15:03 +02:00
|
|
|
gtk3.extraConfig = commonGtkSettings;
|
|
|
|
gtk4.extraConfig = commonGtkSettings;
|
2023-10-01 15:17:46 +02:00
|
|
|
};
|
|
|
|
}
|