2023-11-20 08:19:13 +00:00
|
|
|
{ ... }: {
|
|
|
|
imports = [ ./caddy.nix ];
|
2023-05-26 08:52:46 +01:00
|
|
|
services.gitea = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
server = {
|
|
|
|
ROOT_URL = "https://git.xenia.me.uk";
|
|
|
|
DOMAIN = "git.xenia.me.uk";
|
2023-10-27 05:56:55 +01:00
|
|
|
HTTP_ADDR = "127.0.0.1";
|
|
|
|
HTTP_PORT = 3100;
|
2023-05-28 19:58:05 +01:00
|
|
|
DISABLE_SSH = true;
|
2023-05-26 08:52:46 +01:00
|
|
|
};
|
|
|
|
service.DISABLE_REGISTRATION = true;
|
|
|
|
ui = {
|
2023-11-20 08:19:13 +00:00
|
|
|
DEFAULT_THEME = "auto";
|
|
|
|
THEMES = "auto,gitea,arc-greenw";
|
2023-05-26 08:52:46 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
appName = "Gitea";
|
|
|
|
};
|
2023-11-20 08:19:13 +00:00
|
|
|
services.caddy.virtualHosts."git.xenia.me.uk".extraConfig =
|
|
|
|
"reverse_proxy http://localhost:3100 ";
|
2023-05-26 08:52:46 +01:00
|
|
|
}
|