mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
services: xfce: Allow empty passwords in screenlocker.
* gnu/services/desktop.scm (xfce-desktop-configuration): Add allow-empty-passwords? field. (xfce-pam-services): Respect it. Change-Id: Idd54b6016b5412aacdfbc134bc57de30394a77ad Signed-off-by: Rutherther <rutherther@ditigal.xyz>
This commit is contained in:
parent
09acdd3142
commit
290435009b
1 changed files with 5 additions and 2 deletions
|
|
@ -2073,7 +2073,8 @@ CONFIG, a <gnome-desktop-configuration> object."
|
|||
(define-record-type* <xfce-desktop-configuration> xfce-desktop-configuration
|
||||
make-xfce-desktop-configuration
|
||||
xfce-desktop-configuration?
|
||||
(xfce xfce-package (default xfce)))
|
||||
(xfce xfce-package (default xfce))
|
||||
(allow-empty-passwords? xfce-allow-empty-passwords? (default #t)))
|
||||
|
||||
(define (xfce-polkit-settings config)
|
||||
"Return the list of XFCE dependencies that provide polkit actions and
|
||||
|
|
@ -2085,7 +2086,9 @@ rules."
|
|||
"xfce4-power-manager"))))
|
||||
|
||||
(define (xfce-pam-services config)
|
||||
(list (unix-pam-service "xfce4-screensaver")))
|
||||
(list (unix-pam-service "xfce4-screensaver"
|
||||
#:allow-empty-passwords?
|
||||
(xfce-allow-empty-passwords? config))))
|
||||
|
||||
(define xfce-desktop-service-type
|
||||
(service-type
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue