about summary refs log tree commit diff
path: root/modules/services/gerrit
diff options
context:
space:
mode:
Diffstat (limited to 'modules/services/gerrit')
-rw-r--r--modules/services/gerrit/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/services/gerrit/default.nix b/modules/services/gerrit/default.nix
index ed43ce5..a3e5e78 100644
--- a/modules/services/gerrit/default.nix
+++ b/modules/services/gerrit/default.nix
@@ -95,6 +95,8 @@ in {
       };
     };
 
+    my.services.backup = { paths = [ "/var/lib/gerrit" ]; };
+
     services.nginx.virtualHosts."${cfg.vhostName}" = {
       forceSSL = true;
       enableACME = true;