use mkDefault for authentikComponents
This commit is contained in:
parent
8b05ebf200
commit
ed999ba030
1 changed files with 2 additions and 2 deletions
|
|
@ -56,10 +56,10 @@
|
||||||
flake = {
|
flake = {
|
||||||
nixosModules.default = { pkgs, ... }: {
|
nixosModules.default = { pkgs, ... }: {
|
||||||
imports = [ ./module.nix ];
|
imports = [ ./module.nix ];
|
||||||
services.authentik.authentikComponents = withSystem pkgs.stdenv.hostPlatform.system (
|
services.authentik.authentikComponents = pkgs.lib.mkDefault (withSystem pkgs.stdenv.hostPlatform.system (
|
||||||
{ config, ... }:
|
{ config, ... }:
|
||||||
{ inherit (config.packages) celery staticWorkdirDeps migrate pythonEnv frontend gopkgs docs; }
|
{ inherit (config.packages) celery staticWorkdirDeps migrate pythonEnv frontend gopkgs docs; }
|
||||||
);
|
));
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
perSystem = { pkgs, system, ... }: let
|
perSystem = { pkgs, system, ... }: let
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue