diff options
Diffstat (limited to 'hosts/vidhar')
-rw-r--r-- | hosts/vidhar/borg/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hosts/vidhar/borg/default.nix b/hosts/vidhar/borg/default.nix index d85ab751..b3a3530c 100644 --- a/hosts/vidhar/borg/default.nix +++ b/hosts/vidhar/borg/default.nix | |||
@@ -6,6 +6,8 @@ let | |||
6 | copyService = { repo, repoEscaped }: let | 6 | copyService = { repo, repoEscaped }: let |
7 | serviceName = "copy-borg@${repoEscaped}"; | 7 | serviceName = "copy-borg@${repoEscaped}"; |
8 | sshConfig = pkgs.writeText "config" '' | 8 | sshConfig = pkgs.writeText "config" '' |
9 | Include /etc/ssh/ssh_config | ||
10 | |||
9 | Host yggdrasil.borgbase | 11 | Host yggdrasil.borgbase |
10 | HostName nx69hpl8.repo.borgbase.com | 12 | HostName nx69hpl8.repo.borgbase.com |
11 | User nx69hpl8 | 13 | User nx69hpl8 |
@@ -26,7 +28,7 @@ let | |||
26 | Group = "borg"; | 28 | Group = "borg"; |
27 | StateDirectory = "borg"; | 29 | StateDirectory = "borg"; |
28 | Environment = [ | 30 | Environment = [ |
29 | "BORG_RSH=\"${pkgs.openssh}/bin/ssh -F /etc/ssh/ssh_config -F ${sshConfig}\"" | 31 | "BORG_RSH=\"${pkgs.openssh}/bin/ssh -F ${sshConfig}\"" |
30 | "BORG_BASE_DIR=/var/lib/borg" | 32 | "BORG_BASE_DIR=/var/lib/borg" |
31 | "BORG_CONFIG_DIR=/var/lib/borg/config" | 33 | "BORG_CONFIG_DIR=/var/lib/borg/config" |
32 | "BORG_CACHE_DIR=/var/lib/borg/cache" | 34 | "BORG_CACHE_DIR=/var/lib/borg/cache" |