Infini-DL360/authentik: fix build failure due to nixpkgs change
This commit is contained in:
parent
21caabaecb
commit
a097e2033a
1 changed files with 13 additions and 1 deletions
|
@ -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; {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue