.
This commit is contained in:
parent
b8402a9049
commit
cfb31d3b01
4 changed files with 30 additions and 5 deletions
8
flake.lock
generated
8
flake.lock
generated
|
|
@ -27,11 +27,11 @@
|
||||||
"treefmt-nix": "treefmt-nix"
|
"treefmt-nix": "treefmt-nix"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771194746,
|
"lastModified": 1771196666,
|
||||||
"narHash": "sha256-U/BvGW5p405bbsxd8IdMHbSUNVXsLpgPy0ieQwEh3mE=",
|
"narHash": "sha256-mEdhnyzuW2fTP/dBpJE6EnvTH2fbQXOOwZgjJ1trQmU=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "4e1dac32a5c0bf71021027bee35eca53892b069f",
|
"rev": "55ccfdb9733347f1985206e782d6fd89e46c15c3",
|
||||||
"revCount": 6085,
|
"revCount": 6089,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://forgejo.ellis.link/continuwuation/continuwuity"
|
"url": "https://forgejo.ellis.link/continuwuation/continuwuity"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,8 @@
|
||||||
./services/wireguard-inner.nix
|
./services/wireguard-inner.nix
|
||||||
./services/matrix.nix
|
./services/matrix.nix
|
||||||
./services/ergo.nix
|
./services/ergo.nix
|
||||||
./services/akkoma.nix
|
./services/forgejo.nix
|
||||||
|
# ./services/akkoma.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
16
services/forgejo.nix
Normal file
16
services/forgejo.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
networking.firewall.interfaces.wg0.allowedTCPPorts = [ 3000 ];
|
||||||
|
|
||||||
|
services.forgejo = {
|
||||||
|
enable = true;
|
||||||
|
settings.service.DISABLE_REGISTRATION = true;
|
||||||
|
settings.server = {
|
||||||
|
DOMAIN = "forgejo.ellie.town";
|
||||||
|
ROOT_URL = "https://forgejo.ellie.town/";
|
||||||
|
HTTP_ADDR = "10.10.0.2";
|
||||||
|
HTTP_PORT = 3000;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -69,6 +69,14 @@
|
||||||
# };
|
# };
|
||||||
# };
|
# };
|
||||||
|
|
||||||
|
virtualHosts."forgejo.ellie.town" = {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://10.10.0.2:3000";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
virtualHosts."irc.ellie.town" = {
|
virtualHosts."irc.ellie.town" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue