personal-gui: Use correct way to specify gtk dark theme

This commit is contained in:
traxys 2024-06-27 23:06:17 +02:00
parent 1187b7cf80
commit b14efd5d9a

View file

@ -15,9 +15,18 @@
font = {
name = "DejaVu Sans";
};
theme = {
package = pkgs.gnome.gnome-themes-extra;
name = "Adwaita-dark";
theme.name = "Adwaita";
gtk3.extraConfig = {
gtk-application-prefer-dark-theme = 1;
};
gtk4.extraConfig = {
gtk-application-prefer-dark-theme = 1;
};
};
dconf.settings = {
"org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";
};
};