diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2020-08-24 19:17:22 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2020-08-27 10:11:45 -0500 |
commit | fe8d0c2e0b533ccca7e3536cfa142c72ed92df81 (patch) | |
tree | 53b5a2b2be757ee59d1538360f7019a6811d9cd7 /nixos/modules/services/wayland/cage.nix | |
parent | d436e930272b560ce7f0eaaf6decc142e8c804a4 (diff) | |
download | nixpkgs-fe8d0c2e0b533ccca7e3536cfa142c72ed92df81.tar nixpkgs-fe8d0c2e0b533ccca7e3536cfa142c72ed92df81.tar.gz nixpkgs-fe8d0c2e0b533ccca7e3536cfa142c72ed92df81.tar.bz2 nixpkgs-fe8d0c2e0b533ccca7e3536cfa142c72ed92df81.tar.lz nixpkgs-fe8d0c2e0b533ccca7e3536cfa142c72ed92df81.tar.xz nixpkgs-fe8d0c2e0b533ccca7e3536cfa142c72ed92df81.tar.zst nixpkgs-fe8d0c2e0b533ccca7e3536cfa142c72ed92df81.zip |
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.
Diffstat (limited to 'nixos/modules/services/wayland/cage.nix')
-rw-r--r-- | nixos/modules/services/wayland/cage.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/wayland/cage.nix b/nixos/modules/services/wayland/cage.nix index 50e424fccbf..14d84c4ce0f 100644 --- a/nixos/modules/services/wayland/cage.nix +++ b/nixos/modules/services/wayland/cage.nix @@ -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 ''; |