blob: b9dac30f34f234b20a16ecac7def5d09d5538042 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{ ... }:
{
services.forgejo = {
enable = true;
database.type = "postgres";
lfs.enable = false;
settings = {
session.COOKIE_SECURE = true;
server = {
DOMAIN = "code.fcuny.net";
ROOT_URL = "https://code.fcuny.net";
HTTP_PORT = 3000;
HTTP_ADDR = "10.100.0.40";
};
metrics = {
ENABLED = true;
ENABLED_ISSUE_BY_LABEL = true;
ENABLED_ISSUE_BY_REPOSITORY = true;
};
service.DISABLE_REGISTRATION = true;
};
};
}
|