11 lines
360 B
Nix
11 lines
360 B
Nix
{ ... }:
|
|
{
|
|
imports = [ ./traefik.nix ];
|
|
services.gitea.enable = true;
|
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
|
services.traefik.dynamicConfigOptions.http = {
|
|
routers.gitea = { rule = "Host(`git.xenia.me.uk`)"; service = "gitea-websecure"; };
|
|
services.gitea-websecure.loadBalancer.servers = [{ url = "http://localhost:3000"; }];
|
|
};
|
|
}
|