Setup gitea on fusion

This commit is contained in:
Nathan McCarty 2022-11-29 00:45:27 -05:00
parent 4e805a7bc1
commit 512ef7bdc4
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
1 changed files with 13 additions and 0 deletions

View File

@ -54,4 +54,17 @@
# Setup home manager # Setup home manager
home-manager.users.nathan = import ./home.nix; home-manager.users.nathan = import ./home.nix;
# Setup gitea
services.gitea = {
enable = true;
domain = "gitea.stranger.systems";
rootUrl = "https://gitea.stranger.systems";
appName = "Stranger Systems Git Mirror";
};
services.nginx.virtualHosts."gitea.stranger.systems" = {
enableACME = true;
forceSSL = true;
locations."/" = { proxyPass = "http://localhost:3000"; };
};
} }