22
0
mirror of https://github.com/SuperSandro2000/nixos-modules.git synced 2024-06-02 14:29:23 +02:00

portunus: allow accessing security.ldap again

This commit is contained in:
Sandro - 2023-12-07 01:30:35 +01:00
parent c99597b1b1
commit 0f66cbb5f9
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -65,7 +65,7 @@ in
};
};
config = lib.mkIf cfg.enable {
config = {
assertions = [
{
assertion = cfg.configureOAuth2Proxy -> config.services.oauth2_proxy.keyFile != null;
@ -81,7 +81,7 @@ in
${cfg.internalIp6} = [ cfg.domain ];
};
nixpkgs.overlays = [
nixpkgs.overlays = lib.mkIf cfg.enable [
(final: prev: with final; {
dex-oidc = prev.dex-oidc.override {
buildGoModule = args: buildGoModule (args // {