services: secret-service: Move instance last in the list of services.

* gnu/services/virtualization.scm (secret-service-operating-system): Add
the SECRET-SERVICE-TYPE instance to the end of the list.
This commit is contained in:
Ludovic Courtès 2020-09-29 11:13:20 +02:00
parent f9090015c5
commit e352706ad3
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -841,8 +841,12 @@ (define (secret-service-operating-system os)
that will be listening to receive secret keys on port 1004, TCP."
(operating-system
(inherit os)
(services (cons (service secret-service-type 1004)
(operating-system-user-services os)))))
;; Arrange so that the secret service activation snippet shows up before
;; the OpenSSH and Guix activation snippets. That way, we receive OpenSSH
;; and Guix keys before the activation snippets try to generate fresh keys
;; for nothing.
(services (append (operating-system-user-services os)
(list (service secret-service-type 1004))))))
;;;