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;