about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/services/gerrit/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/services/gerrit/default.nix b/modules/services/gerrit/default.nix
index 154dca4..094e1b1 100644
--- a/modules/services/gerrit/default.nix
+++ b/modules/services/gerrit/default.nix
@@ -62,6 +62,11 @@ in {
         # users can change their emails
         oauth.allowRegisterNewEmail = true;
 
+        plugin.gerrit-oauth-provider-google-oauth = {
+          client-id =
+            "966881439540-5k20bis59lqs2bsi3rukfbveu8r0ta8q.apps.googleusercontent.com";
+        };
+
         # use gerrit HTTP password
         auth.gitBasicAuthPolicy = "HTTP";