diff options
Diffstat (limited to 'hel.nix')
-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 | }; |