diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-12-12 00:24:23 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-12-20 04:12:27 +0100 |
commit | ab8f306d7c2c49b8116e1af7b355ed2384617ed9 (patch) | |
tree | d1061ec0436fd096de2332a892eb984c63cb125e /modules/private/websites/tools/tools/yourls.nix | |
parent | 4227853a03923e04daf3dd511a4b5a1ab5d527e7 (diff) | |
download | Nix-ab8f306d7c2c49b8116e1af7b355ed2384617ed9.tar.gz Nix-ab8f306d7c2c49b8116e1af7b355ed2384617ed9.tar.zst Nix-ab8f306d7c2c49b8116e1af7b355ed2384617ed9.zip |
Add specification for the private config file as a module.
Diffstat (limited to 'modules/private/websites/tools/tools/yourls.nix')
-rw-r--r-- | modules/private/websites/tools/tools/yourls.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/private/websites/tools/tools/yourls.nix b/modules/private/websites/tools/tools/yourls.nix index 0a8e837..6280e78 100644 --- a/modules/private/websites/tools/tools/yourls.nix +++ b/modules/private/websites/tools/tools/yourls.nix | |||
@@ -28,10 +28,10 @@ rec { | |||
28 | define( 'YOURLS_DEBUG', false ); | 28 | define( 'YOURLS_DEBUG', false ); |
29 | define( 'YOURLS_URL_CONVERT', 36 ); | 29 | define( 'YOURLS_URL_CONVERT', 36 ); |
30 | $yourls_reserved_URL = array(); | 30 | $yourls_reserved_URL = array(); |
31 | define( 'LDAPAUTH_HOST', 'ldaps://ldap.immae.eu' ); | 31 | define( 'LDAPAUTH_HOST', 'ldaps://${env.ldap.host}' ); |
32 | define( 'LDAPAUTH_PORT', '636' ); | 32 | define( 'LDAPAUTH_PORT', '636' ); |
33 | define( 'LDAPAUTH_BASE', 'dc=immae,dc=eu' ); | 33 | define( 'LDAPAUTH_BASE', '${env.ldap.base}' ); |
34 | define( 'LDAPAUTH_SEARCH_USER', 'cn=yourls,ou=services,dc=immae,dc=eu' ); | 34 | define( 'LDAPAUTH_SEARCH_USER', '${env.ldap.dn}' ); |
35 | define( 'LDAPAUTH_SEARCH_PASS', '${env.ldap.password}' ); | 35 | define( 'LDAPAUTH_SEARCH_PASS', '${env.ldap.password}' ); |
36 | 36 | ||
37 | define( 'LDAPAUTH_GROUP_ATTR', 'memberof' ); | 37 | define( 'LDAPAUTH_GROUP_ATTR', 'memberof' ); |