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.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
|
||||||
|
|
|
@ -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"];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue