What module provides screen-locker-service-type? I had already tried to add that entry but after reconfiguring I get:
Backtrace: 18 (primitive-load "/home/oleander/.config/guix/current/bin/gu…") In guix/ui.scm: 2324:7 17 (run-guix . _) 2287:10 16 (run-guix-command _ . _) In ice-9/boot-9.scm: 1752:10 15 (with-exception-handler _ _ #:unwind? _ # _) In guix/status.scm: 859:3 14 (_) 839:4 13 (call-with-status-report _ _) In guix/scripts/system.scm: 1278:4 12 (_) In ice-9/boot-9.scm: 1752:10 11 (with-exception-handler _ _ #:unwind? _ # _) In guix/store.scm: 661:37 10 (thunk) 1300:8 9 (call-with-build-handler #<procedure 7f40dba5dea0 at g…> …) 2180:25 8 (run-with-store #<store-connection 256.99 7f40c478b280> …) In guix/scripts/system.scm: 846:2 7 (_ _) 720:8 6 (_ #<store-connection 256.99 7f40c478b280>) In gnu/system.scm: 1298:19 5 (operating-system-derivation _) 835:11 4 (operating-system-services #<<operating-system> kernel:…>) 869:20 3 (services _) In /etc/system.scm: 135:13 2 (services #<<operating-system> kernel: #<package linux-…>) In ice-9/boot-9.scm: 1685:16 1 (raise-exception _ #:continuable? _) 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: error: screen-locker-service-type: unbound variable -------- Original Message -------- On Dec 22, 2023, 09:24, Emmanuel Beffara wrote: > Hello, De Remco van 't Veer le 22/12/2023 à 08:56: > This works for me but I > am not sure it's still needed. I am pretty sure > swaylock does not like to > be setuid anymore. I faced the same issue some time ago, not sure when. > Indeed the issue was with swaylock complaining about setuid. My system > configuration contains the following simpler entry, which uses > screen-locker-configuration: (operating-system ... (services (cons* ... > (service screen-locker-service-type (screen-locker-configuration (name > "swaylock") (program (file-append swaylock "/bin/swaylock")) (using-pam? #t) > (using-setuid? #f))) ... %desktop-services)) ... ) -- Emmanuel