add vaultwarden to vault backups and disallow signups
This commit is contained in:
parent
f218f307df
commit
991de30a8a
|
@ -109,6 +109,7 @@ in {
|
||||||
user = "root";
|
user = "root";
|
||||||
paths = [
|
paths = [
|
||||||
"/var/lib/vault"
|
"/var/lib/vault"
|
||||||
|
"/var/backup/vaultwarden"
|
||||||
];
|
];
|
||||||
|
|
||||||
repository = "${repoRoot}/Vault";
|
repository = "${repoRoot}/Vault";
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
services.vaultwarden = {
|
services.vaultwarden = {
|
||||||
enable = true;
|
enable = true;
|
||||||
backupDir = "/var/backup/vaultwarden";
|
backupDir = "/var/backup/vaultwarden";
|
||||||
environmentFile = "/var/lib/vaultwarden.env";
|
|
||||||
config = {
|
config = {
|
||||||
DOMAIN = "https://vaultwarden.owo.monster";
|
DOMAIN = "https://vaultwarden.owo.monster";
|
||||||
ROCKET_ADDRESS = "127.0.0.1";
|
ROCKET_ADDRESS = "127.0.0.1";
|
||||||
ROCKET_PORT = 8222;
|
ROCKET_PORT = 8222;
|
||||||
|
SIGNUPS_ALLOWED = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue