Setup gitea on fusion
This commit is contained in:
parent
4e805a7bc1
commit
512ef7bdc4
|
@ -54,4 +54,17 @@
|
|||
# Setup home manager
|
||||
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"; };
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue