update backups

This commit is contained in:
2026-09-11 16:40:18 -04:00
parent ddfff957b6
commit b8bdb7276c
2 changed files with 23 additions and 1 deletions
+21
View File
@@ -0,0 +1,21 @@
{ config, lib, pkgs, ... }:
{
services.vaultwarden = {
enable = true;
backupDir = "/var/lib/vault-backup";
config = {
DOMAIN = "https://vault.example.com";
SIGNUPS_ALLOWED = false;
ROCKET_ADDRESS = "127.0.0.1";
ROCKET_PORT = 8222;
};
};
services.caddy = {
enable = true;
virtualHosts."vault.grasswren.net".extraConfig = ''
reverse_proxy localhost:8222
'';
};
}