diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index b129e67..bdac38d 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