aboutsummaryrefslogtreecommitdiff
path: root/systems/eldiron/websites/git
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2024-06-10 13:16:22 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2024-06-11 00:19:12 +0200
commit6035129599ef08fa5af62e2ef0d7467ba9d1b748 (patch)
tree3b94b39a7d9c380d18de2e5d88247ac94703ce09 /systems/eldiron/websites/git
parent1c90c0dd73b5b74612be736ac8deeaa4547e2c26 (diff)
downloadNix-6035129599ef08fa5af62e2ef0d7467ba9d1b748.tar.gz
Nix-6035129599ef08fa5af62e2ef0d7467ba9d1b748.tar.zst
Nix-6035129599ef08fa5af62e2ef0d7467ba9d1b748.zip
Mantisbt bump
Diffstat (limited to 'systems/eldiron/websites/git')
-rw-r--r--systems/eldiron/websites/git/mantisbt.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/systems/eldiron/websites/git/mantisbt.nix b/systems/eldiron/websites/git/mantisbt.nix
index 3bd78e1..b0ee553 100644
--- a/systems/eldiron/websites/git/mantisbt.nix
+++ b/systems/eldiron/websites/git/mantisbt.nix
@@ -6,6 +6,10 @@ rec {
6 permissions = "0400"; 6 permissions = "0400";
7 text = '' 7 text = ''
8 <?php 8 <?php
9 $g_admin_checks = OFF;
10 $g_reauthentication = OFF;
11 $g_reauthentication_expiry = 604800;
12 $g_path = 'https://git.immae.eu/mantisbt/';
9 $g_hostname = '${env.postgresql.socket}'; 13 $g_hostname = '${env.postgresql.socket}';
10 $g_db_username = '${env.postgresql.user}'; 14 $g_db_username = '${env.postgresql.user}';
11 $g_db_password = '${env.postgresql.password}'; 15 $g_db_password = '${env.postgresql.password}';
@@ -29,6 +33,7 @@ rec {
29 $g_login_method = LDAP; 33 $g_login_method = LDAP;
30 $g_ldap_protocol_version = 3; 34 $g_ldap_protocol_version = 3;
31 $g_ldap_server = 'ldaps://${env.ldap.host}:636'; 35 $g_ldap_server = 'ldaps://${env.ldap.host}:636';
36 $g_ldap_use_starttls = OFF;
32 $g_ldap_root_dn = 'ou=users,${env.ldap.base}'; 37 $g_ldap_root_dn = 'ou=users,${env.ldap.base}';
33 $g_ldap_bind_dn = '${env.ldap.dn}'; 38 $g_ldap_bind_dn = '${env.ldap.dn}';
34 $g_ldap_bind_passwd = '${env.ldap.password}'; 39 $g_ldap_bind_passwd = '${env.ldap.password}';
@@ -39,7 +44,8 @@ rec {
39 $g_ldap_organization = '${env.ldap.filter}'; 44 $g_ldap_organization = '${env.ldap.filter}';
40 ''; 45 '';
41 }; 46 };
42 webRoot = (mantisbt_2.override { mantis_config = config.secrets.fullPaths."webapps/tools-mantisbt"; }).withPlugins (p: [p.slack p.source-integration]); 47 webRoot = (mantisbt_2.override { mantis_config =
48 config.secrets.fullPaths."webapps/tools-mantisbt"; }).withPlugins (p: [p.slack p.source-integration ]);
43 apache = rec { 49 apache = rec {
44 user = "wwwrun"; 50 user = "wwwrun";
45 group = "wwwrun"; 51 group = "wwwrun";