lol

nixos/portunus: use openldap compiled with libxcrypt-legacy

It hardcodes sha256 crypt and the managed slapd crash loops otherwise.

+3 -2
+3 -2
nixos/modules/services/misc/portunus.nix
··· 107 107 ldap = { 108 108 package = mkOption { 109 109 type = types.package; 110 - default = pkgs.openldap; 111 - defaultText = lib.literalExpression "pkgs.openldap"; 110 + # needs openldap built with a libxcrypt that support crypt sha256 until https://github.com/majewsky/portunus/issues/2 is solved 111 + default = pkgs.openldap.override { libxcrypt = pkgs.libxcrypt-legacy; }; 112 + defaultText = lib.literalExpression "pkgs.openldap.override { libxcrypt = pkgs.libxcrypt-legacy; }"; 112 113 description = lib.mdDoc "The OpenLDAP package to use."; 113 114 }; 114 115