add vaultwarden to vault backups and disallow signups

This commit is contained in:
chaos 2024-12-14 12:29:31 +00:00
parent f218f307df
commit 991de30a8a
2 changed files with 2 additions and 1 deletions

View file

@ -109,6 +109,7 @@ in {
user = "root";
paths = [
"/var/lib/vault"
"/var/backup/vaultwarden"
];
repository = "${repoRoot}/Vault";

View file

@ -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;
};
};