Forgejo on federation nexus

This commit is contained in:
Henry Hiles 2025-06-01 20:35:08 -04:00
parent d910e81194
commit f9dc1a94ef
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
2 changed files with 3 additions and 5 deletions

View file

@ -12,10 +12,8 @@
"listen.owner" = user; "listen.owner" = user;
"listen.group" = group; "listen.group" = group;
}; };
mail.dsn = "smtp://username:password@example.com:25"; nginx = null;
nginx = {};
}; };
nginx.enable = false; # We use caddy instead
caddy.virtualHosts."${domain}".extraConfig = '' caddy.virtualHosts."${domain}".extraConfig = ''
encode zstd gzip encode zstd gzip

View file

@ -4,7 +4,7 @@
... ...
}: { }: {
services = let services = let
domain = "git.henryhiles.com"; domain = "git.federated.nexus";
socket = "/run/forgejo/socket"; socket = "/run/forgejo/socket";
in { in {
forgejo = { forgejo = {
@ -37,7 +37,7 @@
instances.default = { instances.default = {
enable = true; enable = true;
name = "monolith"; name = "monolith";
url = "https://git.henryhiles.com"; url = domain;
tokenFile = config.age.secrets."runnerToken.age".path; tokenFile = config.age.secrets."runnerToken.age".path;
labels = ["native:host"]; labels = ["native:host"];
}; };