VEGAS/bitwarden: bitwarden_rs -> vaultwarden
This commit is contained in:
parent
ed766b76fe
commit
d9a9ff0265
1 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@ with tools.nginx;
|
||||||
services.nginx.virtualHosts = mappers.mapSubdomains {
|
services.nginx.virtualHosts = mappers.mapSubdomains {
|
||||||
keychain = vhosts.proxy "http://127.0.0.1:${config.portsStr.bitwarden}";
|
keychain = vhosts.proxy "http://127.0.0.1:${config.portsStr.bitwarden}";
|
||||||
};
|
};
|
||||||
services.bitwarden_rs = {
|
services.vaultwarden = {
|
||||||
enable = true;
|
enable = true;
|
||||||
backupDir = "/srv/storage/private/bitwarden/backups";
|
backupDir = "/srv/storage/private/bitwarden/backups";
|
||||||
config = {
|
config = {
|
||||||
|
@ -15,8 +15,8 @@ with tools.nginx;
|
||||||
};
|
};
|
||||||
#environmentFile = ""; # TODO: agenix
|
#environmentFile = ""; # TODO: agenix
|
||||||
};
|
};
|
||||||
systemd.services.bitwarden_rs.serviceConfig = {
|
systemd.services.vaultwarden.serviceConfig = {
|
||||||
ReadWriteDirectories = "/srv/storage/private/bitwarden";
|
ReadWriteDirectories = "/srv/storage/private/bitwarden";
|
||||||
};
|
};
|
||||||
systemd.services.backup-bitwarden_rs.environment.DATA_FOLDER = lib.mkForce config.services.bitwarden_rs.config.dataFolder;
|
systemd.services.backup-vaultwarden.environment.DATA_FOLDER = lib.mkForce config.services.vaultwarden.config.dataFolder;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue