From 62ab885daaa31a5e231902ca1b8c50e7b55f1ce2 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 3 Jan 2022 19:26:05 +0100 Subject: doc: Avoid (getenv "HOME") in 'machines.scm' example. Fixes . Reported by zimoun . * doc/guix.texi (Daemon Offload Setup): Avoid misleading (getenv "HOME") in example. --- doc/guix.texi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/guix.texi b/doc/guix.texi index 43549da388..9c1f30e83f 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -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 -- cgit v1.2.3