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