Evie Litherland-Smith
763a1d2a05
Place home-manager config under home directory, move system config under system directory. Add hostname-specific entries under home directory to be consistent with how system is configured, update flake accordingly
22 lines
587 B
Nix
22 lines
587 B
Nix
{...}: {
|
|
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;
|
|
};
|
|
ui = {DEFAULT_THEME = "forgejo-auto";};
|
|
admin = {DISABLE_REGULAR_ORG_CREATION = true;};
|
|
service = {DISABLE_REGISTRATION = true;};
|
|
};
|
|
};
|
|
caddy.virtualHosts."git.xenia.me.uk".extraConfig = "reverse_proxy http://localhost:3100";
|
|
};
|
|
}
|