mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
home: services: redshift: Add 'configuration' action.
* gnu/home/services/shepherd.scm: Re-export 'shepherd-configuration-action'. * gnu/home/services/desktop.scm (redshift-shepherd-service): Add 'actions' field.
This commit is contained in:
parent
8d9647d8a7
commit
8b56983999
2 changed files with 4 additions and 2 deletions
|
@ -165,7 +165,8 @@ (define config-file
|
|||
(start #~(make-forkexec-constructor
|
||||
(list #$(file-append redshift "/bin/redshift")
|
||||
"-c" #$config-file)))
|
||||
(stop #~(make-kill-destructor)))))
|
||||
(stop #~(make-kill-destructor))
|
||||
(actions (list (shepherd-configuration-action config-file))))))
|
||||
|
||||
(define home-redshift-service-type
|
||||
(service-type
|
||||
|
|
|
@ -45,7 +45,8 @@ (define-module (gnu home services shepherd)
|
|||
shepherd-service-auto-start?
|
||||
shepherd-service-modules
|
||||
|
||||
shepherd-action))
|
||||
shepherd-action
|
||||
shepherd-configuration-action))
|
||||
|
||||
(define-record-type* <home-shepherd-configuration>
|
||||
home-shepherd-configuration make-home-shepherd-configuration
|
||||
|
|
Loading…
Reference in a new issue