2024-03-31 18:06:01 +01:00
|
|
|
{...}: {
|
|
|
|
imports = [./caddy.nix];
|
|
|
|
services = {
|
|
|
|
forgejo = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
server = {
|
|
|
|
ROOT_URL = "https://git.xenia.me.uk";
|
|
|
|
DOMAIN = "git.xenia.me.uk";
|
|
|
|
HTTP_ADDR = "127.0.0.1";
|
|
|
|
HTTP_PORT = 3100;
|
|
|
|
DISABLE_SSH = true;
|
|
|
|
};
|
2024-03-31 19:03:55 +01:00
|
|
|
ui = {DEFAULT_THEME = "forgejo-auto";};
|
2024-03-31 18:06:01 +01:00
|
|
|
admin = {DISABLE_REGULAR_ORG_CREATION = true;};
|
|
|
|
service = {DISABLE_REGISTRATION = true;};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
caddy.virtualHosts."git.xenia.me.uk".extraConfig = "reverse_proxy http://localhost:3100";
|
|
|
|
};
|
|
|
|
}
|