From 5ea921f80f62a9380c85f7cbc9ccb8b345d6339b Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 6 Nov 2020 15:05:33 +0800 Subject: [PATCH] nixbld: disable openhardware.hk --- nixbld-etc-nixos/configuration.nix | 33 ------------------------------ 1 file changed, 33 deletions(-) diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index b129e67e..bdac38db 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -442,9 +442,6 @@ in "call.m-labs.hk" "nmigen.org" "www.nmigen.org" - - "openhardware.hk" - "git.openhardware.hk" ]; }; }; @@ -620,15 +617,6 @@ in return 307 https://m-labs.hk/gateware/nmigen/; ''; }; - - "git.openhardware.hk" = { - forceSSL = true; - useACMEHost = "nixbld.m-labs.hk"; - locations."/".proxyPass = "http://127.0.0.1:3002"; - extraConfig = '' - client_max_body_size 300M; - ''; - }; }; }; services.uwsgi = { @@ -679,27 +667,6 @@ in }; security.acme.certs."${config.mailserver.fqdn}".extraDomainNames = [ "mail.nmigen.org" ]; - containers.openhardwarehk = { - autoStart = true; - config = - { config, pkgs, ... }: - { - services.gitea = { - enable = true; - httpPort = 3002; - rootUrl = "https://git.openhardware.hk/"; - appName = "Open Hardware HK"; - cookieSecure = true; - disableRegistration = true; - settings = { - attachment = { - ALLOWED_TYPES = "*/*"; - }; - }; - }; - }; - }; - # This value determines the NixOS release with which your system is to be # compatible, in order to avoid breaking some software such as database # servers. You should change this only after NixOS release notes say you