Infini-DL360/authentik: fix build failure due to nixpkgs change

This commit is contained in:
Infinidoge 2025-02-15 02:38:26 -05:00
parent 21caabaecb
commit a097e2033a
Signed by: Infinidoge
SSH key fingerprint: SHA256:EMoPe5e2dO0gEvtBb2xkZTz5dkyL0rBmuiGTKG5s96E

View file

@ -1,16 +1,28 @@
{
config,
pkgs,
common,
secrets,
inputs,
...
}:
let
domain = common.subdomain "auth";
ldap = common.subdomain "ldap";
authentikScope = (inputs.authentik-nix.lib.mkAuthentikScope { inherit pkgs; }).overrideScope (
final: prev: {
authentikComponents = prev.authentikComponents // {
docs = prev.authentikComponents.docs.overrideAttrs {
dontCheckForBrokenSymlinks = true;
};
};
}
);
in
{
services.authentik = {
enable = true;
inherit (authentikScope) authentikComponents;
environmentFile = secrets.authentik;
settings = {
email = with common.email; {