24 lines
486 B
Nix
24 lines
486 B
Nix
{ ... }:
|
|
|
|
{
|
|
imports = [ ../traefik/gitea.nix ];
|
|
services.gitea = {
|
|
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;
|
|
};
|
|
service.DISABLE_REGISTRATION = true;
|
|
ui = {
|
|
DEFAULT_THEME = "github";
|
|
THEMES = "auto,gitea,arc-green,github";
|
|
};
|
|
};
|
|
appName = "Gitea";
|
|
};
|
|
}
|