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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user