In my home-manager config, I do the following: ```nix qt = { enable = true; platformTheme = "gnome"; style = { name = "adwaita-dark"; package = pkgs.adwaita-qt; }; }; ``` This is supposed to set up `QT_` variables. The following lines of Nix in `qt,nix` from home-manager do it: https://github.com/nix-community/home-manager/blob/master/modules/misc/qt.nix#L99-L102 This qt.nix uses `home.sessionVariables` to accomplish it, which puts the following in ~/.profile: `. "/etc/profiles/per-user/matthew/etc/profile.d/hm-session-vars.sh"` Then, `hm-session-vars.sh` has the following in it: ``` export QT_QPA_PLATFORMTHEME="gnome" export QT_STYLE_OVERRIDE="adwaita-dark" ``` The problem is that nothing is sourcing ~/.profile. `gdm` won't, `sddm` won't. So it never works out.