aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/sandbox/case/mapuid.nix
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-10-18 04:25:40 +0900
committerOphestra <cat@gensokyo.uk>2025-10-18 04:33:04 +0900
commitd4284c109d593fa1413a162734b3db5134c66d19 (patch)
tree3cdab15c944ad4df19df609ce4c49a9d0d51296c /test/sandbox/case/mapuid.nix
parent030ad2a73bcbcafdc434771901cf6e8e659c00a6 (diff)
internal/app/spruntime: emulate pam_systemd type
This sets XDG_SESSION_TYPE to the corresponding values specified in pam_systemd(8) according to enablements. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'test/sandbox/case/mapuid.nix')
-rw-r--r--test/sandbox/case/mapuid.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sandbox/case/mapuid.nix b/test/sandbox/case/mapuid.nix
index d5072321..22a9a22c 100644
--- a/test/sandbox/case/mapuid.nix
+++ b/test/sandbox/case/mapuid.nix
@@ -54,7 +54,7 @@ in
"WAYLAND_DISPLAY=wayland-0"
"XDG_RUNTIME_DIR=/run/user/1000"
"XDG_SESSION_CLASS=user"
- "XDG_SESSION_TYPE=tty"
+ "XDG_SESSION_TYPE=wayland"
];
fs = fs "dead" {