aboutsummaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-09-13 21:16:14 -0400
committerworldofpeace <worldofpeace@protonmail.ch>2019-09-13 21:31:11 -0400
commitd5766ef6b32698f9ce2890990b588e03e4b3b01e (patch)
tree4c1ff58d738aa3e844ad79556eb10c67f54a1ec0 /nixos
parent4b2e250f9e7dc0344ffd54a1df7ff6d2a081bea9 (diff)
nixos/pantheon: use sessionVariables
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/x11/desktop-managers/pantheon.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/pantheon.nix b/nixos/modules/services/x11/desktop-managers/pantheon.nix
index e313a194c34..24ce2a4492a 100644
--- a/nixos/modules/services/x11/desktop-managers/pantheon.nix
+++ b/nixos/modules/services/x11/desktop-managers/pantheon.nix
@@ -98,10 +98,6 @@ in
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}${p}/lib
fi
'') cfg.sessionPath}
-
- # Settings from elementary-default-settings
- export GTK_CSD=1
- export GTK_MODULES=$GTK_MODULES:pantheon-filechooser-module
fi
'';
@@ -166,9 +162,13 @@ in
networkmanager-iodine networkmanager-l2tp; };
# Override GSettings schemas
- environment.variables.NIX_GSETTINGS_OVERRIDES_DIR = "${nixos-gsettings-desktop-schemas}/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas";
+ environment.sessionVariables.NIX_GSETTINGS_OVERRIDES_DIR = "${nixos-gsettings-desktop-schemas}/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas";
+
+ environment.sessionVariables.GNOME_SESSION_DEBUG = optionalString cfg.debug "1";
- environment.variables.GNOME_SESSION_DEBUG = optionalString cfg.debug "1";
+ # Settings from elementary-default-settings
+ environment.sessionVariables.GTK_CSD = "1";
+ environment.sessionVariables.GTK_MODULES = "pantheon-filechooser-module";
environment.pathsToLink = [
# FIXME: modules should link subdirs of `/share` rather than relying on this