archive: Note service type in ACL hint.

* guix/scripts/archive.scm (authorize-key): Mention guix-service-type.
This commit is contained in:
Tobias Geerinckx-Rice 2021-01-20 18:48:36 +01:00
parent 60f0ab5fce
commit 166ccaefe8
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -318,8 +318,8 @@ (define (read-key)
(warning (G_ "replacing symbolic link ~a with a regular file~%")
%acl-file)
(when (string-prefix? (%store-prefix) (readlink %acl-file))
(display-hint (G_ "On Guix System, add public keys to the
@code{authorized-keys} field of your @code{operating-system} instead.")))))
(display-hint (G_ "On Guix System, add all @code{authorized-keys} to the
@code{guix-service-type} service of your @code{operating-system} instead.")))))
(let ((key (read-key))
(acl (current-acl)))