aboutsummaryrefslogtreecommitdiff
path: root/modules/misc/qt.nix
diff options
context:
space:
mode:
authorRobert Helgesson <robert@rycee.net>2019-06-23 14:06:29 +0200
committerRobert Helgesson <robert@rycee.net>2019-06-23 14:06:29 +0200
commit95d55b8da152f1efffb7713c82ead83a3fcf476d (patch)
tree967cc05235e61e0cd0955d6d1e82e6fbd3692a31 /modules/misc/qt.nix
parentf83c49baa3cf4de627bcfd3c70730478aaa3998a (diff)
xsession: add option `importedVariables`
This option lists the environment variables to be imported into the systemd user session. Also add a basic test of the xsession module.
Diffstat (limited to 'modules/misc/qt.nix')
-rw-r--r--modules/misc/qt.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/misc/qt.nix b/modules/misc/qt.nix
index bb59044dd90..60de8774231 100644
--- a/modules/misc/qt.nix
+++ b/modules/misc/qt.nix
@@ -65,8 +65,7 @@ in
then [ pkgs.qgnomeplatform ]
else [ pkgs.libsForQt5.qtstyleplugins ];
- xsession.profileExtra =
- "systemctl --user import-environment QT_QPA_PLATFORMTHEME";
+ xsession.importedVariables = [ "QT_QPA_PLATFORMTHEME" ];
# Enable GTK+ style for Qt4 in either case.
# It doesnโ€™t support the platform theme packages.