change vaultwarden backup dir to mnt

This commit is contained in:
Satria 2026-03-06 16:16:09 +07:00
commit 54a5363c08

View file

@ -1,12 +1,15 @@
{ homelab, ... }: {
{ homelab, ... }: let
app-url = "https://pass.proxy.${homelab.domain}";
in {
services.vaultwarden = {
enable = true;
domain = app-url;
backupDir = "/mnt/data/vaultwarden";
config = {
DOMAIN = "https://pass.proxy.${homelab.domain}";
DOMAIN = app-url;
ROCKET_PORT = 8060;
ROCKET_ADDRESS = "127.0.0.1";
ROCKET_LOG = "critical";
DATA_FOLDER = "/mnt/data/vaultwarden";
SIGNUPS_ALLOWED = true;
};
};