Korrigiere Pfad

This commit is contained in:
Gonne 2024-02-07 15:28:39 +01:00
parent 6b1038c102
commit d4128640f5

View file

@ -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