diff --git a/flake.nix b/flake.nix index add207d..9973818 100755 --- a/flake.nix +++ b/flake.nix @@ -43,6 +43,7 @@ darwinConfigurations = { "iMac-macOS" = nix-darwin.lib.darwinSystem { system = "x86_64-darwin"; + specialArgs = { inherit inputs; }; modules = [ ./machines/darwin/imac-2017.nix ./users/guanranwang/darwin.nix diff --git a/flakes/darwin/home-manager.nix b/flakes/darwin/home-manager.nix index 7a6e7ab..e5ba846 100644 --- a/flakes/darwin/home-manager.nix +++ b/flakes/darwin/home-manager.nix @@ -1,7 +1,7 @@ { inputs, ... }: { - imports = [ inputs.home-manager.nixosModules.home-manager ]; + imports = [ inputs.home-manager.darwinModules.home-manager ]; home-manager = { useGlobalPkgs = true;