use mkDefault for authentikComponents

This commit is contained in:
WilliButz 2023-12-10 13:55:31 +01:00
parent 8b05ebf200
commit ed999ba030
No known key found for this signature in database
GPG key ID: FB0513677AB15BEA

View file

@ -56,10 +56,10 @@
flake = {
nixosModules.default = { pkgs, ... }: {
imports = [ ./module.nix ];
services.authentik.authentikComponents = withSystem pkgs.stdenv.hostPlatform.system (
services.authentik.authentikComponents = pkgs.lib.mkDefault (withSystem pkgs.stdenv.hostPlatform.system (
{ config, ... }:
{ inherit (config.packages) celery staticWorkdirDeps migrate pythonEnv frontend gopkgs docs; }
);
));
};
};
perSystem = { pkgs, system, ... }: let