From 685c212f334a1c5d941301eaaa58f38602d5b2ea Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Tue, 5 Jun 2018 14:04:36 +0200 Subject: [PATCH] Ajout service Gitea --- services.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) 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}";