Forgejo on federation nexus
This commit is contained in:
parent
d910e81194
commit
f9dc1a94ef
2 changed files with 3 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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"];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue