modules/nixos/buildbot: move token to authType.legacy

also remove `github.user`
This commit is contained in:
zowoq 2024-06-16 09:19:45 +10:00
parent 8a50f112bd
commit 225a234087

View file

@ -33,11 +33,12 @@
authTokenFile = config.sops.secrets.cachix-auth-token.path; authTokenFile = config.sops.secrets.cachix-auth-token.path;
}; };
github = { github = {
tokenFile = config.sops.secrets.buildbot-github-token.path; authType.legacy = {
tokenFile = config.sops.secrets.buildbot-github-token.path;
};
webhookSecretFile = config.sops.secrets.buildbot-github-webhook-secret.path; webhookSecretFile = config.sops.secrets.buildbot-github-webhook-secret.path;
oauthSecretFile = config.sops.secrets.buildbot-github-oauth-secret.path; oauthSecretFile = config.sops.secrets.buildbot-github-oauth-secret.path;
oauthId = "9bbd3e8bbfebb197d2ca"; oauthId = "9bbd3e8bbfebb197d2ca";
user = "nix-community-buildbot";
topic = "nix-community-buildbot"; topic = "nix-community-buildbot";
}; };
}; };