Disable user registration

This commit is contained in:
Evie Litherland-Smith 2023-05-16 15:45:02 +01:00
parent 4e3222d4f6
commit 745ace9d82

View file

@ -3,10 +3,13 @@
imports = [ ./traefik.nix ./fail2ban.nix ];
services.gitea = {
enable = true;
settings.server = {
ROOT_URL = "https://git.xenia.me.uk";
DOMAIN = "git.xenia.me.uk";
SSH_PORT = 2222;
settings = {
server = {
ROOT_URL = "https://git.xenia.me.uk";
DOMAIN = "git.xenia.me.uk";
SSH_PORT = 2222;
};
service.DISABLE_REGISTRATION = true;
};
appName = "Gitea";
};