From 77d3cd63154792b3b80e5bd58e504856dcb8dfef Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 17 Feb 2022 12:52:28 +0100 Subject: vidhar: ... --- hosts/vidhar/borg/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'hosts/vidhar') 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 copyService = { repo, repoEscaped }: let serviceName = "copy-borg@${repoEscaped}"; sshConfig = pkgs.writeText "config" '' + Include /etc/ssh/ssh_config + Host yggdrasil.borgbase HostName nx69hpl8.repo.borgbase.com User nx69hpl8 @@ -26,7 +28,7 @@ let Group = "borg"; StateDirectory = "borg"; Environment = [ - "BORG_RSH=\"${pkgs.openssh}/bin/ssh -F /etc/ssh/ssh_config -F ${sshConfig}\"" + "BORG_RSH=\"${pkgs.openssh}/bin/ssh -F ${sshConfig}\"" "BORG_BASE_DIR=/var/lib/borg" "BORG_CONFIG_DIR=/var/lib/borg/config" "BORG_CACHE_DIR=/var/lib/borg/cache" -- cgit v1.2.3