From fe8d0c2e0b533ccca7e3536cfa142c72ed92df81 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Mon, 24 Aug 2020 19:17:22 -0500 Subject: nixos/cage: supply pamEnvironment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without this, you don’t get any of the sessionVariables in the cage application. Things like XDG_DATA_DIRS, XCURSOR_PATH, etc. are missing. --- nixos/modules/services/wayland/cage.nix | 1 + 1 file changed, 1 insertion(+) 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 ''; -- cgit 1.4.1