nixpkgs/nixos/modules
Maximilian Bosch d54d70f166
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)
2022-07-13 19:19:17 +02:00
..
config Merge pull request #180570 from romildo/upd.nixos.qt5 2022-07-09 21:44:28 -03:00
hardware ckb-next: remove myself from maintainers (#179573) 2022-07-03 16:07:34 -03:00
i18n/input-method Merge pull request #174218 from NickCao/fcitx5-qt6 2022-06-11 16:20:20 +00:00
installer Merge pull request #176796 from erikarvstedt/improve-netboot-initrd 2022-07-04 09:23:38 +02:00
misc nixos/ids: fix typo in comment 2022-06-28 11:58:47 +00:00
profiles nixos/i18n: don't build all supportedLocales by default 2022-06-11 23:29:29 +02:00
programs nixos/qt5ct: remove enable option and suggests qt5.platformTheme 2022-07-05 13:50:42 -03:00
security Revert "nixos/security/wrappers: use an assertion for the existence check" 2022-06-12 15:38:05 -05:00
services nixos/mxisd: allow passing secrets 2022-07-13 19:19:17 +02:00
system nixos: systemd: add missing sliceToUnit (#179841) 2022-07-02 18:56:53 +03:00
tasks Merge pull request #171401 from klemensn/filesystems-zfs 2022-07-03 18:07:53 +02:00
testing nixos/version: Warn about using the default of system.stateVersion 2022-05-05 12:22:31 +02:00
virtualisation railcar, nixos/railcar: remove 2022-07-07 07:16:58 +10:00
module-list.nix Merge pull request #178254 from K900/update-tempo 2022-07-10 14:01:30 +03:00
rename.nix railcar, nixos/railcar: remove 2022-07-07 07:16:58 +10:00