From 96788680b7b3cb73b1d827fbfb38ead089e448ea Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 28 May 2022 13:54:57 -0700 Subject: feat(gerrit): backup all relevant directories Change-Id: I7d70a25f95cddedaba5e5186b6e7f83ddf9e7eb9 Reviewed-on: https://cl.fcuny.net/c/world/+/84 Reviewed-by: Franck Cuny --- modules/services/gerrit/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/services') 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; -- cgit 1.4.1