2023-07-25 13:54:23 +03:00
|
|
|
{...}: {
|
2022-08-11 02:57:40 +03:00
|
|
|
services.gitea = {
|
|
|
|
enable = true;
|
|
|
|
domain = "git.gaze.systems";
|
|
|
|
rootUrl = "https://git.gaze.systems/";
|
|
|
|
httpPort = 3001;
|
2022-08-23 09:18:59 +03:00
|
|
|
settings = {
|
|
|
|
service.DISABLE_REGISTRATION = true;
|
|
|
|
session.COOKIE_SECURE = true;
|
|
|
|
};
|
2022-08-11 02:57:40 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
services.nginx.virtualHosts."git.gaze.systems" = {
|
2023-05-08 23:09:44 +03:00
|
|
|
useACMEHost = "gaze.systems";
|
2022-08-11 02:57:40 +03:00
|
|
|
forceSSL = true;
|
|
|
|
locations."/".proxyPass = "http://localhost:3001";
|
|
|
|
};
|
|
|
|
}
|