nixpkgs/nixos/modules
Maximilian Bosch bccaac9535
nixos/privacyidea: better secret-handling ldap-proxy & RFC42-style settings for ldap-proxy
Instead of hard-coding a single `configFile` for
`privacyidea-ldap-proxy.service` which is pretty unmergable with other
declarations it now uses a RFC42-like approach. Also to make sure that
secrets can be handled properly without ending up in the Nix store, it's
possible to inject secrets via envsubst

    {
      services.privacyidea.ldap-proxy = {
        enable = true;
        environmentFile = "/run/secrets/ldap-pw";
        settings = {
          privacyidea.instance = "privacyidea.example.org";
          service-account = {
            dn = "uid=readonly,ou=serviceaccounts,dc=example,dc=org";
            password = "$LDAP_PW";
          };
        };
      };
    }

and the following secret file (at `/run/secrets`):

    LDAP_PW=<super-secret ldap pw>

For backwards-compat the old `configFile`-option is kept, but it throws
a deprecation warning and is mutually exclusive with the
`settings`-attrset. Also, it doesn't support secrets injection with
`envsubst` & `environmentFile`.
2022-07-14 23:51:17 +02:00
..
config Merge pull request #180992 from romildo/new.xdg.portal.lxqt 2022-07-13 14:15:09 +02:00
hardware hardware/nvidia: add @ to constraint on busIDType 2022-07-10 02:48:40 -03:00
i18n/input-method Merge pull request #174218 from NickCao/fcitx5-qt6 2022-06-11 16:20:20 +00:00
installer nix-fallback-paths.nix: Update to 2.10.2 2022-07-14 23:53:44 +08: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 treewide: Drop myself as maintainer for some packages I don't use 2022-07-14 14:39:58 +02:00
security Revert "nixos/security/wrappers: use an assertion for the existence check" 2022-06-12 15:38:05 -05:00
services nixos/privacyidea: better secret-handling ldap-proxy & RFC42-style settings for ldap-proxy 2022-07-14 23:51:17 +02:00
system Merge pull request #180991 from aij/raspberrypi-bootloader-config.txt 2022-07-10 14:09:43 -07: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 nixos/proxmox-image: use qemu 6.2 for building VMA 2022-07-13 10:44:41 +02:00
module-list.nix Merge pull request #180992 from romildo/new.xdg.portal.lxqt 2022-07-13 14:15:09 +02:00
rename.nix railcar, nixos/railcar: remove 2022-07-07 07:16:58 +10:00