services: Fix gdm-autologin pam service.

* gnu/services/xorg.scm (gdm-pam-service): Mark pam_gdm.so optional.
This commit is contained in:
Alex Griffin 2020-06-14 17:58:47 -05:00
parent fb0037af8c
commit d8258177fe
No known key found for this signature in database
GPG key ID: 6F5120A022FBB2D5

View file

@ -7,6 +7,7 @@
;;; Copyright © 2019 Tim Gesthuizen <tim.gesthuizen@yahoo.de> ;;; Copyright © 2019 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
;;; Copyright © 2020 shtwzrd <shtwzrd@protonmail.com> ;;; Copyright © 2020 shtwzrd <shtwzrd@protonmail.com>
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net> ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
;;; Copyright © 2020 Alex Griffin <a@ajgrf.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -925,7 +926,7 @@ (define (gdm-pam-service config)
(inherit (unix-pam-service "gdm-autologin" (inherit (unix-pam-service "gdm-autologin"
#:login-uid? #t)) #:login-uid? #t))
(auth (list (pam-entry (auth (list (pam-entry
(control "[success=ok default=1]") (control "optional")
(module (file-append (gdm-configuration-gdm config) (module (file-append (gdm-configuration-gdm config)
"/lib/security/pam_gdm.so"))) "/lib/security/pam_gdm.so")))
(pam-entry (pam-entry