Use Gitea over GitLab

Gitea simply offers better performance. I wasn't using all of GitLab's
features anyway, and while the missing CI is annoying, I hadn't
previously managed to set this up anyway, and it can be easily
replaced by something a bit more dedicated than GitLab's
implementation.

This should hopefully allow me to host git repositories without
compromising on memory/CPU time available to other services.
This commit is contained in:
Tristan Daniël Maat 2020-07-12 18:32:19 +01:00
parent 9010db4f75
commit 367579f5cd
Signed by: tlater
GPG key ID: 49670FD774E43268
4 changed files with 53 additions and 45 deletions
etc/nixos/services/configs

View file

@ -1,18 +0,0 @@
external_url 'https://gitlab.tlater.net/';
pages_external_url 'https://pages.tlater.net/';
gitlab_rails['gitlab_shell_ssh_port'] = 3022;
user['git_user_email'] = 'gitlab@tlater.net';
gitlab_rails['gitlab_email_from'] = 'gitlab@tlater.net';
gitlab_rails['gitlab_email_display_name'] = 'GitLab';
gitlab_rails['gitlab_email_reply_to'] = 'noreply@tlater.net';
gitlab_rails['incoming_email_enabled'] = false;
gitlab_rails['registry_enabled'] = false;
letsencrypt['enable'] = false;
nginx['listen_port'] = 80;
nginx['listen_https'] = false;
pages_nginx['listen_port'] = 80;
pages_nginx['listen_https'] = false;