summaryrefslogtreecommitdiff
path: root/hosts/vidhar/borg/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/vidhar/borg/default.nix')
-rw-r--r--hosts/vidhar/borg/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/hosts/vidhar/borg/default.nix b/hosts/vidhar/borg/default.nix
index 65c309da..43810e5d 100644
--- a/hosts/vidhar/borg/default.nix
+++ b/hosts/vidhar/borg/default.nix
@@ -17,6 +17,8 @@ let
17 ServerAliveCountMax 30 17 ServerAliveCountMax 30
18 ''; 18 '';
19 in nameValuePair serviceName { 19 in nameValuePair serviceName {
20 path = with pkgs; [borgbackup];
21
20 serviceConfig = { 22 serviceConfig = {
21 Type = "oneshot"; 23 Type = "oneshot";
22 ExecStart = "${copyBorg}/bin/copy ${escapeShellArg repo} yggdrasil.borgbase:repo"; 24 ExecStart = "${copyBorg}/bin/copy ${escapeShellArg repo} yggdrasil.borgbase:repo";