VEGAS/bitwarden: allow backup to read data dir
This commit is contained in:
parent
8bad272eef
commit
19355c0f91
1 changed files with 6 additions and 1 deletions
|
@ -18,5 +18,10 @@ with tools.nginx;
|
|||
systemd.services.vaultwarden.serviceConfig = {
|
||||
ReadWriteDirectories = "/srv/storage/private/bitwarden";
|
||||
};
|
||||
systemd.services.backup-vaultwarden.environment.DATA_FOLDER = lib.mkForce config.services.vaultwarden.config.dataFolder;
|
||||
systemd.services.backup-vaultwarden = {
|
||||
environment.DATA_FOLDER = lib.mkForce config.services.vaultwarden.config.dataFolder;
|
||||
serviceConfig = {
|
||||
ReadWriteDirectories = "/srv/storage/private/bitwarden";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue