update backup dir

This commit is contained in:
Osman Faruk Bayram 2025-10-31 14:32:40 +03:00
parent a97962e2a6
commit 2cedf1a717

View file

@ -8,7 +8,7 @@
(lib.mkIf config.osbmModules.services.vaultwarden.enable {
services.vaultwarden = {
enable = true;
backupDir = "/var/local/vaultwarden/backup";
backupDir = "/persist/backup/vaultwarden";
# in order to avoid having ADMIN_TOKEN in the nix store it can be also set with the help of an environment file
# be aware that this file must be created by hand (or via secrets management like sops)
environmentFile = config.age.secrets.vaultwarden.path;