···55}:
66{
77 # Make both GTK 3 and Qt apps follow GTK 4-like theming... sorta
88- hjem.users.leah.packages = with pkgs; [
99- adw-gtk3
1010- qadwaitadecorations
1111- qadwaitadecorations-qt6
1212- ];
88+ hjem.users.leah = {
99+ packages = with pkgs; [
1010+ adw-gtk3
1111+ qadwaitadecorations
1212+ qadwaitadecorations-qt6
1313+ ];
13141414- qt.enable = true;
1515-1616- hjem.users.leah.environment.sessionVariables = {
1717- # Make Qt apps look like GTK 3 apps.
1818- # Ideally I want to make them look like GTK 4 + Adwaita apps instead,
1919- # but it's not really viable with `adwaita-qt` being discontinued
2020- QT_QPA_PLATFORMTHEME = "gtk3";
1515+ environment.sessionVariables = {
1616+ # Make Qt apps look like GTK 3 apps.
1717+ # Ideally I want to make them look like GTK 4 + Adwaita apps instead,
1818+ # but it's not really viable with `adwaita-qt` being discontinued
1919+ QT_QPA_PLATFORMTHEME = "gtk3";
21202222- # At least we can have an Adwaita-style CSD
2323- QT_WAYLAND_DECORATION = "adwaita";
2121+ # At least we can have an Adwaita-style CSD
2222+ QT_WAYLAND_DECORATION = "adwaita";
2323+ };
24242525- # GTK 3 apps are ignoring the dconf settings for some reason,
2626- # which is causing Qt apps to also misbehave
2727- GTK_THEME = "Adwaita:dark";
2525+ rum.misc.gtk.settings = {
2626+ # GTK 3 apps are ignoring the dconf settings for some reason,
2727+ # which is causing Qt apps to also misbehave
2828+ application-prefer-dark-theme = true;
2929+ };
2830 };
29313032 programs.dconf.profiles.user.databases = [
···3234 settings = {
3335 "org/gnome/desktop/wm/preferences" = {
3436 # Both minimize and maximize do nothing in niri
3535- button-layout = "icon:close";
3737+ button-layout = ":menu,close";
3638 };
3739 "org/gnome/desktop/interface" = {
3840 accent-color = "pink";