Evie Litherland-Smith
320d76f972
Separate service setup from traefik config for each, prep for future server separation
22 lines
596 B
Nix
22 lines
596 B
Nix
{...}: {
|
|
imports = [ ../fail2ban/gitea.nix ];
|
|
services.gitea = {
|
|
enable = true;
|
|
settings = {
|
|
server = {
|
|
ROOT_URL = "https://git.xenia.me.uk";
|
|
DOMAIN = "git.xenia.me.uk";
|
|
START_SSH_SERVER = true;
|
|
SSH_DOMAIN = "git.xenia.me.uk";
|
|
SSH_PORT = 2222;
|
|
SSH_LISTEN_PORT = 30922;
|
|
};
|
|
service.DISABLE_REGISTRATION = true;
|
|
ui = {
|
|
THEMES = "auto,gitea,arc-green,catppuccin-latte-lavender,catppuccin-frappe-lavender,catppuccin-macchiato-lavender,catppuccin-mocha-lavender";
|
|
};
|
|
};
|
|
appName = "Gitea";
|
|
};
|
|
}
|