1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

feat: run gitea on makanek

This commit is contained in:
2020-11-11 08:51:49 +01:00
parent 2c5d2f4add
commit 46882af11e

View File

@@ -12,6 +12,20 @@ in
<niveum/configs/save-space.nix>
<niveum/configs/version.nix>
<niveum/modules/retiolum.nix>
{
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;