From c0a68ae5ea8c0eb08aaa62cc78999d61bc60c6a4 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Thu, 3 Jul 2025 15:27:54 +0200 Subject: [PATCH] feat: run job as root because of permissions, adds ssh environment --- modules/services/borg.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/services/borg.nix b/modules/services/borg.nix index 46092fc..f068108 100644 --- a/modules/services/borg.nix +++ b/modules/services/borg.nix @@ -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"; + }; }; }; }