1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-05 16:55:56 +02: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:
Ludovic Courtès
2022-01-03 19:26:05 +01:00
parent 4362125033
commit 62ab885daa
+4 -3
View File
@@ -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