nixos/borgbackup: specify systemd WorkingDirectory

This commit is contained in:
Kerstin Humm 2021-10-31 13:39:46 +01:00
parent 8d3b180052
commit 62ab77a322
No known key found for this signature in database
GPG key ID: 40293358C7B9326B

View file

@ -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" ];
};