diff options
author | Kerstin Humm <kerstin@erictapen.name> | 2021-10-31 13:39:46 +0100 |
---|---|---|
committer | Kerstin Humm <kerstin@erictapen.name> | 2021-10-31 13:39:46 +0100 |
commit | 62ab77a322514cfcd24d7cfd41c7e00c9a20f0b8 (patch) | |
tree | ddfc947222cb71954cc9ef4ebc31e8d240c5a1cf | |
parent | 8d3b180052a7dc8fcab93a8402154816f2c8a51f (diff) |
nixos/borgbackup: specify systemd WorkingDirectory
-rw-r--r-- | nixos/modules/services/backup/borgbackup.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/backup/borgbackup.nix b/nixos/modules/services/backup/borgbackup.nix index 220c571b927e5..b2147c1bbfc93 100644 --- a/nixos/modules/services/backup/borgbackup.nix +++ b/nixos/modules/services/backup/borgbackup.nix @@ -152,6 +152,7 @@ let serviceConfig = { # The service's only task is to ensure that the specified path exists Type = "oneshot"; + WorkingDirectory = cfg.path; }; wantedBy = [ "multi-user.target" ]; }; |