home: services: redshift: Use redshift package specified in configuration

* gnu/home/services/desktop.scm (redshift-shepherd-service): Use the redshift
package specified by config.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Kjartan Oli Agustsson 2023-08-23 22:35:11 +00:00 committed by Ludovic Courtès
parent e5f7c14ef6
commit 2643fa3513
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -172,7 +172,7 @@ (define config-file
;; FIXME: This fails to start if Home is first activated from a ;; FIXME: This fails to start if Home is first activated from a
;; non-X11 session. ;; non-X11 session.
(start #~(make-forkexec-constructor (start #~(make-forkexec-constructor
(list #$(file-append redshift "/bin/redshift") (list #$(file-append (home-redshift-configuration-redshift config) "/bin/redshift")
"-c" #$config-file))) "-c" #$config-file)))
(stop #~(make-kill-destructor)) (stop #~(make-kill-destructor))
(actions (list (shepherd-configuration-action config-file)))))) (actions (list (shepherd-configuration-action config-file))))))