mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
doc: Avoid (getenv "HOME") in 'machines.scm' example.
Fixes <https://issues.guix.gnu.org/52517>. Reported by zimoun <zimon.toutoune@gmail.com>. * doc/guix.texi (Daemon Offload Setup): Avoid misleading (getenv "HOME") in example.
This commit is contained in:
parent
4362125033
commit
62ab885daa
1 changed files with 4 additions and 3 deletions
|
@ -1250,9 +1250,10 @@ The @file{/etc/guix/machines.scm} file typically looks like this:
|
|||
(systems (list "aarch64-linux"))
|
||||
(host-key "ssh-rsa AAAAB3Nza@dots{}")
|
||||
(user "alice")
|
||||
(private-key
|
||||
(string-append (getenv "HOME")
|
||||
"/.ssh/identity-for-guix"))))
|
||||
|
||||
;; Remember 'guix offload' is spawned by
|
||||
;; 'guix-daemon' as root.
|
||||
(private-key "/root/.ssh/identity-for-guix")))
|
||||
@end lisp
|
||||
|
||||
@noindent
|
||||
|
|
Loading…
Reference in a new issue