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,
|
common,
|
||||||
secrets,
|
secrets,
|
||||||
|
inputs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
domain = common.subdomain "auth";
|
domain = common.subdomain "auth";
|
||||||
ldap = common.subdomain "ldap";
|
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
|
in
|
||||||
{
|
{
|
||||||
services.authentik = {
|
services.authentik = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
inherit (authentikScope) authentikComponents;
|
||||||
environmentFile = secrets.authentik;
|
environmentFile = secrets.authentik;
|
||||||
settings = {
|
settings = {
|
||||||
email = with common.email; {
|
email = with common.email; {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue