mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
nixos/pantheon: use sessionVariables
This commit is contained in:
parent
4b2e250f9e
commit
d5766ef6b3
@ -98,10 +98,6 @@ in
|
|||||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}${p}/lib
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}${p}/lib
|
||||||
fi
|
fi
|
||||||
'') cfg.sessionPath}
|
'') cfg.sessionPath}
|
||||||
|
|
||||||
# Settings from elementary-default-settings
|
|
||||||
export GTK_CSD=1
|
|
||||||
export GTK_MODULES=$GTK_MODULES:pantheon-filechooser-module
|
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@ -166,9 +162,13 @@ in
|
|||||||
networkmanager-iodine networkmanager-l2tp; };
|
networkmanager-iodine networkmanager-l2tp; };
|
||||||
|
|
||||||
# Override GSettings schemas
|
# 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.variables.GNOME_SESSION_DEBUG = optionalString cfg.debug "1";
|
environment.sessionVariables.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 = [
|
environment.pathsToLink = [
|
||||||
# FIXME: modules should link subdirs of `/share` rather than relying on this
|
# FIXME: modules should link subdirs of `/share` rather than relying on this
|
||||||
|
Loading…
Reference in New Issue
Block a user