From 991de30a8adeeefdcc99ba96b3b08378cd25b736 Mon Sep 17 00:00:00 2001 From: chaos Date: Sat, 14 Dec 2024 12:29:31 +0000 Subject: [PATCH] add vaultwarden to vault backups and disallow signups --- hosts/hetzner-arm/profiles/restic.nix | 1 + hosts/hetzner-arm/profiles/vaultwarden.nix | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/hetzner-arm/profiles/restic.nix b/hosts/hetzner-arm/profiles/restic.nix index e35bf2e..0685686 100644 --- a/hosts/hetzner-arm/profiles/restic.nix +++ b/hosts/hetzner-arm/profiles/restic.nix @@ -109,6 +109,7 @@ in { user = "root"; paths = [ "/var/lib/vault" + "/var/backup/vaultwarden" ]; repository = "${repoRoot}/Vault"; diff --git a/hosts/hetzner-arm/profiles/vaultwarden.nix b/hosts/hetzner-arm/profiles/vaultwarden.nix index ac6d7ab..3a0a303 100644 --- a/hosts/hetzner-arm/profiles/vaultwarden.nix +++ b/hosts/hetzner-arm/profiles/vaultwarden.nix @@ -2,11 +2,11 @@ services.vaultwarden = { enable = true; backupDir = "/var/backup/vaultwarden"; - environmentFile = "/var/lib/vaultwarden.env"; config = { DOMAIN = "https://vaultwarden.owo.monster"; ROCKET_ADDRESS = "127.0.0.1"; ROCKET_PORT = 8222; + SIGNUPS_ALLOWED = false; }; };