2023-04-07 11:09:21 -04:00
|
|
|
{
|
|
|
|
services.gitea = {
|
|
|
|
enable = true;
|
|
|
|
appName = "Bill's Gitea server, hosted on Linode using NixOS";
|
|
|
|
settings = {
|
2023-06-27 11:26:33 -04:00
|
|
|
server = {
|
|
|
|
DOMAIN = "git.ewanick.com";
|
|
|
|
ROOT_URL = "https://git.ewanick.com/";
|
|
|
|
HTTP_PORT = 3000;
|
|
|
|
};
|
2023-04-07 11:09:21 -04:00
|
|
|
service = {
|
|
|
|
DISABLE_REGISTRATION = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
services.caddy = {
|
|
|
|
enable = true;
|
|
|
|
virtualHosts = {
|
|
|
|
"git.ewanick.com" = {
|
|
|
|
extraConfig = ''
|
|
|
|
reverse_proxy localhost:3000
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|