Disable user registration
This commit is contained in:
parent
4e3222d4f6
commit
745ace9d82
|
@ -3,10 +3,13 @@
|
||||||
imports = [ ./traefik.nix ./fail2ban.nix ];
|
imports = [ ./traefik.nix ./fail2ban.nix ];
|
||||||
services.gitea = {
|
services.gitea = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.server = {
|
settings = {
|
||||||
ROOT_URL = "https://git.xenia.me.uk";
|
server = {
|
||||||
DOMAIN = "git.xenia.me.uk";
|
ROOT_URL = "https://git.xenia.me.uk";
|
||||||
SSH_PORT = 2222;
|
DOMAIN = "git.xenia.me.uk";
|
||||||
|
SSH_PORT = 2222;
|
||||||
|
};
|
||||||
|
service.DISABLE_REGISTRATION = true;
|
||||||
};
|
};
|
||||||
appName = "Gitea";
|
appName = "Gitea";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue