documentation(backups): make exampe more robust

This commit is contained in:
a-kenji
2024-06-04 17:09:26 +02:00
parent d852d42b1c
commit efd772435c

View File

@@ -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 = { services.borgbackup.repos.myhostname = {
path = "/var/lib/borgbackup/myhostname"; path = "/var/lib/borgbackup/myhostname";
authorizedKeys = [ authorizedKeys = [
(builtins.readFile ./machines/myhostname/facts/borgbackup.ssh.pub) (builtins.readFile (config.clanCore.clanDir + "/machines/myhostname/facts/borgbackup.ssh.pub"))
]; ];
}; };
} }