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) | |
download | nixpkgs-62ab77a322514cfcd24d7cfd41c7e00c9a20f0b8.tar nixpkgs-62ab77a322514cfcd24d7cfd41c7e00c9a20f0b8.tar.gz nixpkgs-62ab77a322514cfcd24d7cfd41c7e00c9a20f0b8.tar.bz2 nixpkgs-62ab77a322514cfcd24d7cfd41c7e00c9a20f0b8.tar.lz nixpkgs-62ab77a322514cfcd24d7cfd41c7e00c9a20f0b8.tar.xz nixpkgs-62ab77a322514cfcd24d7cfd41c7e00c9a20f0b8.tar.zst nixpkgs-62ab77a322514cfcd24d7cfd41c7e00c9a20f0b8.zip |
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 220c571b927..b2147c1bbfc 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" ]; }; |