From ed999ba030a06823a0af2f986242283c8985f6f6 Mon Sep 17 00:00:00 2001 From: WilliButz Date: Sun, 10 Dec 2023 13:55:31 +0100 Subject: [PATCH] use mkDefault for authentikComponents --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index cf0c9ea..c8962ac 100644 --- a/flake.nix +++ b/flake.nix @@ -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