mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 05:38:57 +03:00
Merge pull request #68492 from worldofpeace/pam-sessionvariables
Introduce environment.profileRelativeSessionVariables
This commit is contained in:
commit
ee29fbd9a2
22 changed files with 176 additions and 155 deletions
|
@ -22,6 +22,8 @@ in
|
|||
EDITOR = mkDefault "nano";
|
||||
XCURSOR_PATH = [ "$HOME/.icons" ];
|
||||
XDG_CONFIG_DIRS = [ "/etc/xdg" ]; # needs to be before profile-relative paths to allow changes through environment.etc
|
||||
GTK_DATA_PREFIX = "${config.system.path}"; # needed for gtk2 apps to find themes
|
||||
GTK_EXE_PREFIX = "${config.system.path}";
|
||||
};
|
||||
|
||||
environment.profiles = mkAfter
|
||||
|
@ -30,7 +32,7 @@ in
|
|||
];
|
||||
|
||||
# TODO: move most of these elsewhere
|
||||
environment.profileRelativeEnvVars =
|
||||
environment.profileRelativeSessionVariables =
|
||||
{ PATH = [ "/bin" ];
|
||||
INFOPATH = [ "/info" "/share/info" ];
|
||||
KDEDIRS = [ "" ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue