nixos/cage: supply pamEnvironment
Without this, you don’t get any of the sessionVariables in the cage application. Things like XDG_DATA_DIRS, XCURSOR_PATH, etc. are missing.
This commit is contained in:
parent
d436e93027
commit
fe8d0c2e0b
@ -82,6 +82,7 @@ in {
|
|||||||
auth required pam_unix.so nullok
|
auth required pam_unix.so nullok
|
||||||
account required pam_unix.so
|
account required pam_unix.so
|
||||||
session required pam_unix.so
|
session required pam_unix.so
|
||||||
|
session required pam_env.so conffile=${config.system.build.pamEnvironment} readenv=0
|
||||||
session required ${pkgs.systemd}/lib/security/pam_systemd.so
|
session required ${pkgs.systemd}/lib/security/pam_systemd.so
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user