From bf0cc19c8f0b1dba28ae3b2e8f90a0446471fe84 Mon Sep 17 00:00:00 2001 From: a-kenji Date: Tue, 4 Jun 2024 17:09:26 +0200 Subject: [PATCH] documentation(backups): make exampe more robust --- docs/site/getting-started/backups.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/site/getting-started/backups.md b/docs/site/getting-started/backups.md index 02571205..65dde5ae 100644 --- a/docs/site/getting-started/backups.md +++ b/docs/site/getting-started/backups.md @@ -116,7 +116,7 @@ On the server where backups will be stored, enable the SSH daemon and set up a r services.borgbackup.repos.myhostname = { path = "/var/lib/borgbackup/myhostname"; authorizedKeys = [ - (builtins.readFile ./machines/myhostname/facts/borgbackup.ssh.pub) + (builtins.readFile (config.clanCore.clanDir + "/machines/myhostname/facts/borgbackup.ssh.pub")) ]; }; }