add vaultwarden to vault backups and disallow signups
This commit is contained in:
parent
f218f307df
commit
991de30a8a
|
@ -109,6 +109,7 @@ in {
|
|||
user = "root";
|
||||
paths = [
|
||||
"/var/lib/vault"
|
||||
"/var/backup/vaultwarden"
|
||||
];
|
||||
|
||||
repository = "${repoRoot}/Vault";
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue