summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/bitwarden.nix
diff options
context:
space:
mode:
Diffstat (limited to 'makefu/2configs/bitwarden.nix')
-rw-r--r--makefu/2configs/bitwarden.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/makefu/2configs/bitwarden.nix b/makefu/2configs/bitwarden.nix
index 92c1c4e0e..d57badd1c 100644
--- a/makefu/2configs/bitwarden.nix
+++ b/makefu/2configs/bitwarden.nix
@@ -23,6 +23,12 @@ in {
{ name = "vaultwarden"; ensurePermissions."DATABASE bitwarden" = "ALL PRIVILEGES"; }
];
};
+ services.postgresqlBackup = {
+ enable = true;
+ databases = [ "bitwarden" ];
+ };
+ systemd.services.postgresqlBackup-bitwarden.serviceConfig.SupplementaryGroups = [ "download" ];
+
services.nginx.virtualHosts."bw.euer.krebsco.de" ={
forceSSL = true;