From 3fc48bc594167c226089fa619981f8603905d8bd Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 2 Apr 2019 00:49:37 +0800 Subject: [PATCH] gitea: use disableRegistration available on 19.03 --- nixbld-etc-nixos/configuration.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index 73034d6..7c16911 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -119,12 +119,7 @@ ACTION=="add", SUBSYSTEM=="tty", \ rootUrl = "https://git.m-labs.hk/"; appName = "M-Labs Git"; cookieSecure = true; - extraConfig = - '' - [service] - DISABLE_REGISTRATION = true - ''; - #disableRegistration = true; + disableRegistration = true; }; services.mattermost = {