From cc166f6aa4d9e8f1fc288d72614f038b724ee9c2 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 1 Apr 2019 10:55:59 +0800 Subject: [PATCH] gitea: polish settings --- nixbld-etc-nixos/configuration.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index 2e19108..06c8d88 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -117,6 +117,14 @@ ACTION=="add", SUBSYSTEM=="tty", \ enable = true; httpPort = 3001; rootUrl = "https://git.m-labs.hk/"; + appName = "M-Labs Git"; + cookieSecure = true; + extraConfig = + '' + [service] + DISABLE_REGISTRATION = true + ''; + #disableRegistration = true; }; services.mattermost = {