diff --git a/flake.nix b/flake.nix index 41d89a2..24157b4 100644 --- a/flake.nix +++ b/flake.nix @@ -52,16 +52,16 @@ modules = [ commonSystemConfig ./hosts/darwin/iMac - nix-homebrew.darwinModules.nix-homebrew ]; + specialArgs = { inherit nix-homebrew; }; }; darwinConfigurations."MacBook-Air" = nix-darwin.lib.darwinSystem { modules = [ commonSystemConfig ./hosts/darwin/MacBook-Air - nix-homebrew.darwinModules.nix-homebrew ]; + specialArgs = { inherit nix-homebrew; }; }; homeConfigurations = { diff --git a/system/darwin/default.nix b/system/darwin/default.nix index 989b958..bf92dcc 100644 --- a/system/darwin/default.nix +++ b/system/darwin/default.nix @@ -1,8 +1,9 @@ -{ config, pkgs, ... }: +{ config, pkgs, nix-homebrew, ... }: { imports = [ ../../modules/homebrew.nix + nix-homebrew.darwinModules.nix-homebrew ]; # Set primary user for system preferences