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.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/modules/services/gerrit/default.nix b/modules/services/gerrit/default.nix
index a56dc7e..1d4be66 100644
--- a/modules/services/gerrit/default.nix
+++ b/modules/services/gerrit/default.nix
@@ -41,7 +41,15 @@ in {
       enable = true;
       listenAddress = "[::]:4778";
       serverId = "36bc0ffe-8f33-4045-bf8b-de5f88815fc0";
-      builtinPlugins = [ "download-commands" "hooks" ];
+      builtinPlugins = [
+        # commands to download changes
+        "download-commands"
+        # to run custom hooks
+        "hooks"
+        # stores review information for Gerrit changes in the
+        # refs/notes/review branch.
+        "reviewnotes"
+      ];
       jvmHeapLimit = "4g";
 
       plugins = [ oauth ];