aboutsummaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorschererleander <leander@schererleander.de>2025-11-02 10:09:49 +0100
committerschererleander <leander@schererleander.de>2025-11-02 10:09:49 +0100
commit3cb33d5ecbca40b30c91ebc1825d5e5e2095d439 (patch)
treea0e5875caff71bbc2f36a77f8cacdd8935d566ad /hosts
parent2aadfeeb1d84e9298318490c71cfc5d04945fb36 (diff)
fix: set TMPDIR environment variable for borgbackup job
Diffstat (limited to 'hosts')
-rw-r--r--hosts/sachiel/configuration.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/hosts/sachiel/configuration.nix b/hosts/sachiel/configuration.nix
index 4a9b297..4372836 100644
--- a/hosts/sachiel/configuration.nix
+++ b/hosts/sachiel/configuration.nix
@@ -183,7 +183,10 @@
];
repo = "h8xn8qvo@h8xn8qvo.repo.borgbase.com:repo";
encryption.mode = "none";
- environment.BORG_RSH = "ssh -i /home/${username}/.ssh/borgbase-nextcloud -o StrictHostKeyChecking=accept-new";
+ environment = {
+ BORG_RSH = "ssh -i /home/${username}/.ssh/borgbase-nextcloud -o StrictHostKeyChecking=accept-new";
+ TMPDIR = "/var/tmp";
+ };
compression = "auto,lzma";
startAt = "daily";
readWritePaths = [