From 46882af11ee7fc82bc745f02cc168d41a347ab70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Wed, 11 Nov 2020 08:51:49 +0100 Subject: [PATCH] feat: run gitea on makanek --- systems/makanek/configuration.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/systems/makanek/configuration.nix b/systems/makanek/configuration.nix index 0f70351..c8a84a7 100644 --- a/systems/makanek/configuration.nix +++ b/systems/makanek/configuration.nix @@ -12,6 +12,20 @@ in + { + services.gitea = { + enable = true; + disableRegistration = true; + rootUrl = "https://code.xn--kiern-0qa.de"; + appName = "code.kierĂ¡n.de"; + }; + networking.firewall.allowedTCPPorts = [ config.services.gitea.httpPort ]; + services.nginx.virtualHosts."code.xn--kiern-0qa.de" ={ + forceSSL = true; + enableACME = true; + locations."/".extraConfig = "proxy_pass http://localhost:3000;"; + }; + } ]; boot.loader.grub.enable = true;