diff options
author | Robert Helgesson <robert@rycee.net> | 2019-06-23 14:06:29 +0200 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2019-06-23 14:06:29 +0200 |
commit | 95d55b8da152f1efffb7713c82ead83a3fcf476d (patch) | |
tree | 967cc05235e61e0cd0955d6d1e82e6fbd3692a31 /modules/misc/qt.nix | |
parent | f83c49baa3cf4de627bcfd3c70730478aaa3998a (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.nix | 3 |
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. |