diff --git a/services.nix b/services.nix index 03aab5e..6969c88 100644 --- a/services.nix +++ b/services.nix @@ -41,6 +41,7 @@ in "matrix.${domaine}" = { ip = "127.0.0.1"; port = 8008; auth = false; }; "organizr.${domaine}" = { ip = "127.0.0.1"; port = organizr_port; auth = true; }; "pgmanage.${domaine}" = { ip = "127.0.0.1"; port = pgmanage_port; auth = true; }; + "gitea.${domaine}" = { ip = "127.0.0.1"; port = 3001; auth = false; }; }; services.mailserver.enable = true; @@ -242,6 +243,16 @@ in }; }; + services.gitea = { + enable = true; + cookieSecure = true; + httpPort = 3001; + rootUrl = "https://gitea.nyanlout.re/"; + database.type = "postgres"; + database.port = 5432; + database.password = "gitea"; + }; + services.site-musique.enable = true; services.site-musique.port = musique_port; services.site-musique.domaine = "musique.${domaine}";