summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-12-17 01:12:11 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2017-12-17 01:12:11 +0100
commit56c0f428dbc7ffa19d176c6a5334e881fdbec040 (patch)
tree1bb1abba78246d21781371652da2acecbf4d0053
parentcebd6cea038eea0594de250f394bec95f480160a (diff)
downloadnixos-56c0f428dbc7ffa19d176c6a5334e881fdbec040.tar
nixos-56c0f428dbc7ffa19d176c6a5334e881fdbec040.tar.gz
nixos-56c0f428dbc7ffa19d176c6a5334e881fdbec040.tar.bz2
nixos-56c0f428dbc7ffa19d176c6a5334e881fdbec040.tar.xz
nixos-56c0f428dbc7ffa19d176c6a5334e881fdbec040.zip
-rw-r--r--hel.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/hel.nix b/hel.nix
index 96a8c795..2a017489 100644
--- a/hel.nix
+++ b/hel.nix
@@ -528,6 +528,8 @@
528 path = with pkgs; [borgbackup]; 528 path = with pkgs; [borgbackup];
529 529
530 script = '' 530 script = ''
531 pwd
532
531 borg create \ 533 borg create \
532 --stats \ 534 --stats \
533 --list \ 535 --list \
@@ -543,6 +545,7 @@
543 scriptArgs = "%i"; 545 scriptArgs = "%i";
544 546
545 serviceConfig = { 547 serviceConfig = {
548 Type = "oneshot";
546 WorkingDirectory = "/mnt/snapshot-%i"; 549 WorkingDirectory = "/mnt/snapshot-%i";
547 }; 550 };
548 }; 551 };