about summary refs log tree commit diff
path: root/modules/nixos/vaultwarden.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nixos/vaultwarden.nix')
-rw-r--r--modules/nixos/vaultwarden.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/nixos/vaultwarden.nix b/modules/nixos/vaultwarden.nix
index 7d51667..2475ed3 100644
--- a/modules/nixos/vaultwarden.nix
+++ b/modules/nixos/vaultwarden.nix
@@ -21,6 +21,8 @@ in {
     db = "vaultwarden";
   in
     mkIf cfg.enable {
+      ark.directories = ["/var/lib/bitwarden_rs"];
+
       secrets.vaultwarden-environment = {
         file = "${inputs.self}/secrets/vaultwarden-environment";
         owner = "vaultwarden";

Consider giving Nix/NixOS a try! <3