From c20d409325b75ea034c5e91acdc71cabba058405 Mon Sep 17 00:00:00 2001 From: Inex Code Date: Sat, 27 Jul 2024 03:12:19 +0300 Subject: [PATCH] Make sure bitwarden has a backup folder --- sp-modules/bitwarden/module.nix | 3 +++ 1 file changed, 3 insertions(+) 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";