From d4128640f5745fe48b071fa9bfcb85a53cb8a5ae Mon Sep 17 00:00:00 2001 From: Gonne Date: Wed, 7 Feb 2024 15:28:39 +0100 Subject: [PATCH] Korrigiere Pfad --- nixos/modules/borgbackup.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nixos/modules/borgbackup.nix b/nixos/modules/borgbackup.nix index d41c752..6802372 100644 --- a/nixos/modules/borgbackup.nix +++ b/nixos/modules/borgbackup.nix @@ -111,11 +111,11 @@ in { preHook = '' rm -rf /home/fsaccount/sicherung mkdir /home/fsaccount/sicherung - scp -i /home/fsaccount/.ssh/fsaccount -r fachschaft@gw1.mathematik.tu-darmstadt.de:/home/fachschaft/* sicherung/ + scp -i /home/fsaccount/.ssh/fsaccount -r fachschaft@gw1.mathematik.tu-darmstadt.de:/home/fachschaft/* /home/fsaccount/sicherung/ ''; - paths = "/home/fachschaft/sicherung"; + paths = "/home/fsaccount/sicherung"; encryption.mode = "none"; - environment.BORG_RSH = "ssh -i /home/fachschaft/.ssh/fsaccount"; + environment.BORG_RSH = "ssh -i /home/fsaccount/.ssh/fsaccount"; repo = "ssh://borg@localhost:fsaccount"; startAt = "hourly"; user = "fsaccount"; @@ -125,7 +125,7 @@ in { }; environment.persistence.${config.impermanence.name} = { directories = [ - "/home/fachschaft/.ssh" # SSH Key with access to FS Account and Borg repo and known_hosts + "/home/fsaccount/.ssh" # SSH Key with access to FS Account and Borg repo and known_hosts ]; }; # Extra user for FS account backup