diff --git a/nix-darwin/default.nix b/nix-darwin/default.nix index 956695926007..9947ff855976 100644 --- a/nix-darwin/default.nix +++ b/nix-darwin/default.nix @@ -9,7 +9,10 @@ let extendedLib = import ../modules/lib/stdlib-extended.nix pkgs.lib; hmModule = types.submoduleWith { - specialArgs = { lib = extendedLib; }; + specialArgs = { + lib = extendedLib; + darwinConfig = config; + }; modules = [ ({ name, ... }: { imports = import ../modules/modules.nix {