On Thu, 14 Apr 2016 18:50:32 +0200
[email protected] (Ludovic Courtès) wrote:
> As Chris Webber mentioned on the mailing list (IIRC), you’ll also have
> to enable xscreensaver in the OS config:
>
> (use-modules (gnu services xorg))
>
> (operating-system
> ;; …
> (services (cons (screen-locker-service "xscreensaver")
> %desktop-services)))
guix system: error: failed to load '/etc/config.scm':
gnu/services/xorg.scm:442:41: In procedure screen-locker-service:
gnu/services/xorg.scm:442:41: In procedure struct_vtable: Wrong type argument
in position 1 (expecting struct): "xscreensaver"
To fix, use
(use-modules (gnu services xorg))
(use-package-modules .... xdisorg)
(operating-system
;; …
(services (cons (screen-locker-service xscreensaver)
%desktop-services)))
(i.e. without the doublequotes)