diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-12-17 01:12:11 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-12-17 01:12:11 +0100 |
commit | 56c0f428dbc7ffa19d176c6a5334e881fdbec040 (patch) | |
tree | 1bb1abba78246d21781371652da2acecbf4d0053 | |
parent | cebd6cea038eea0594de250f394bec95f480160a (diff) | |
download | nixos-56c0f428dbc7ffa19d176c6a5334e881fdbec040.tar nixos-56c0f428dbc7ffa19d176c6a5334e881fdbec040.tar.gz nixos-56c0f428dbc7ffa19d176c6a5334e881fdbec040.tar.bz2 nixos-56c0f428dbc7ffa19d176c6a5334e881fdbec040.tar.xz nixos-56c0f428dbc7ffa19d176c6a5334e881fdbec040.zip |
…
-rw-r--r-- | hel.nix | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 | }; |