about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-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;