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:
Matthew Bauer 2020-08-24 19:17:22 -05:00 committed by Peter Simons
parent b83f71db62
commit 0daf71f97f

View File

@ -82,6 +82,7 @@ in {
auth required pam_unix.so nullok
account 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
'';