diff options
| author | Rutherther <rutherther@ditigal.xyz> | 2025-12-18 19:23:12 +0100 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2025-12-20 13:37:09 +0100 |
| commit | 290435009bfa4cf47f2fd5a825b79d5c90b60ee4 (patch) | |
| tree | aeac6a6cd2bfb616836e57ce4faefe4da86fef03 /gnu | |
| parent | 09acdd314249385cff402adaa22c9e3e6ed0c69f (diff) | |
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>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/services/desktop.scm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index eff502b7fb9..59dc5b34749 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm | |||
| @@ -2073,7 +2073,8 @@ CONFIG, a <gnome-desktop-configuration> object." | |||
| 2073 | (define-record-type* <xfce-desktop-configuration> xfce-desktop-configuration | 2073 | (define-record-type* <xfce-desktop-configuration> xfce-desktop-configuration |
| 2074 | make-xfce-desktop-configuration | 2074 | make-xfce-desktop-configuration |
| 2075 | xfce-desktop-configuration? | 2075 | xfce-desktop-configuration? |
| 2076 | (xfce xfce-package (default xfce))) | 2076 | (xfce xfce-package (default xfce)) |
| 2077 | (allow-empty-passwords? xfce-allow-empty-passwords? (default #t))) | ||
| 2077 | 2078 | ||
| 2078 | (define (xfce-polkit-settings config) | 2079 | (define (xfce-polkit-settings config) |
| 2079 | "Return the list of XFCE dependencies that provide polkit actions and | 2080 | "Return the list of XFCE dependencies that provide polkit actions and |
| @@ -2085,7 +2086,9 @@ rules." | |||
| 2085 | "xfce4-power-manager")))) | 2086 | "xfce4-power-manager")))) |
| 2086 | 2087 | ||
| 2087 | (define (xfce-pam-services config) | 2088 | (define (xfce-pam-services config) |
| 2088 | (list (unix-pam-service "xfce4-screensaver"))) | 2089 | (list (unix-pam-service "xfce4-screensaver" |
| 2090 | #:allow-empty-passwords? | ||
| 2091 | (xfce-allow-empty-passwords? config)))) | ||
| 2089 | 2092 | ||
| 2090 | (define xfce-desktop-service-type | 2093 | (define xfce-desktop-service-type |
| 2091 | (service-type | 2094 | (service-type |
