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.group" = group;
};
mail.dsn = "smtp://username:password@example.com:25";
nginx = {};
nginx = null;
};
nginx.enable = false; # We use caddy instead
caddy.virtualHosts."${domain}".extraConfig = ''
encode zstd gzip

View file

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