mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: run job as root because of permissions, adds ssh environment
This commit is contained in:
parent
57361c61ae
commit
c0a68ae5ea
1 changed files with 4 additions and 1 deletions
|
|
@ -45,7 +45,10 @@ in
|
|||
${pkgs.ntfy-sh}/bin/ntfy send https://notify.liv.town/${hostname} "borgbackup: ${hostname} backup (violet-lib) completed succesfully with exit status $exitStatus"
|
||||
fi
|
||||
'';
|
||||
user = "${username}";
|
||||
# user = "${username}";
|
||||
environment = {
|
||||
BORG_RSH = "ssh -p 9123 -i /home/liv/.ssh/id_ed25519";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue