summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Zalutskiy <nick@const.fun>2021-12-18 14:57:08 -0500
committerGuillaume Le Vaillant <glv@posteo.net>2022-01-17 00:13:46 +0100
commit757be0e8af0805ea354a7003a1e2b71475caf9ae (patch)
tree8e20ecd2f3bd9703a16ef8efa5bdb0d56cc474dc
parent4af273e0a83aa493ef48078bd4b5dc554a6bf84c (diff)
services: pam-mount: Add support for sddm login manager.
I noticed that pam_mount mounts work fine when loging into a textual session, but not when using sddm. This patch fixes this problem by ensuring that pam_mount.so is included in /etc/pam.d/sddm config file. * gnu/services/pam-mount.scm (pam-mount-pam-service): Add sddm to the list of pam services. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
-rw-r--r--gnu/services/pam-mount.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/services/pam-mount.scm b/gnu/services/pam-mount.scm
index 98611462c2..33649b0f7c 100644
--- a/gnu/services/pam-mount.scm
+++ b/gnu/services/pam-mount.scm
@@ -90,7 +90,7 @@
(module #~(string-append #$pam-mount "/lib/security/pam_mount.so"))))
(list (lambda (pam)
(if (member (pam-service-name pam)
- '("login" "su" "slim" "gdm-password"))
+ '("login" "su" "slim" "gdm-password" "sddm"))
(pam-service
(inherit pam)
(auth (append (pam-service-auth pam)