diff options
| author | Maximilian Bosch <maximilian@mbosch.me> | 2022-07-13 19:03:50 +0200 |
|---|---|---|
| committer | Maximilian Bosch <maximilian@mbosch.me> | 2022-07-13 19:19:17 +0200 |
| commit | d54d70f16615992b8005e7bec4b0d77954a95346 (patch) | |
| tree | ae035df9f85f7d472db4e0dcc30f7ea999cd1115 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | b0c5f3dd4c186fd630336b8cf171ff06b58ed65c (diff) | |
nixos/mxisd: allow passing secrets
Suppose you want to provide a LDAP-based directory search to your
homeserver via a service-user with a bind-password. To make sure that
this doesn't end up in the Nix store, it's now possible to set a
substitute for the bindPassword like
services.mxisd.extraConfig.ldap.connection = {
# host, bindDn etc.
bindPassword = "$LDAP_BIND_PW";
};
and write the actual secret into an environment file that's readable for
`mxisd.service` containing
LDAP_BIND_PW=<your secret bind pw>
and the following setting in the Nix expression:
services.mxisd.environmentFile = "/runs/ecrets/mxisd";
(cherry picked from commit aa25ce7aa1a89618e4257fd46c7d20879f54c728)
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
