From 2cedf1a717e6a8396d30c92c15d56d52f88ba5be Mon Sep 17 00:00:00 2001 From: osbm Date: Fri, 31 Oct 2025 14:32:40 +0300 Subject: [PATCH] update backup dir --- modules/nixos/services/vaultwarden.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nixos/services/vaultwarden.nix b/modules/nixos/services/vaultwarden.nix index c9d10d0..1861a5b 100644 --- a/modules/nixos/services/vaultwarden.nix +++ b/modules/nixos/services/vaultwarden.nix @@ -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;