feat: enable forgejo

This commit is contained in:
Julien Malka 2024-07-04 22:25:24 +02:00
parent 2bb3f909ac
commit f1b0e2de51
Signed by: Luj
GPG key ID: 6FC74C847011FD83

View file

@ -73,6 +73,19 @@
# Set your time zone.
time.timeZone = "Europe/Paris";
services.forgejo = {
enable = true;
};
services.nginx.virtualHosts."git.luj.fr" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://localhost:3000";
proxyWebsockets = true;
};
};
environment.persistence."/persistent" = {
hideMounts = true;
directories = [