diff --git a/sp-modules/bitwarden/module.nix b/sp-modules/bitwarden/module.nix index 6850d50..ad4ab09 100644 --- a/sp-modules/bitwarden/module.nix +++ b/sp-modules/bitwarden/module.nix @@ -59,6 +59,9 @@ in ]; }; }; + systemd.tmpfiles.rules = lib.mkIf sp.useBinds [ + "d /volumes/${cfg.location}/bitwarden/backup 0700 vaultwarden vaultwarden -" + ]; services.vaultwarden = { enable = true; dbBackend = "sqlite";