From 6f5fd7b0d3f60db9e24655143ee276ff04718f32 Mon Sep 17 00:00:00 2001 From: Michael Thomas Date: Wed, 15 May 2024 22:32:56 -0400 Subject: [PATCH] fix(mac): do not use defaultModules --- flake.nix | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/flake.nix b/flake.nix index a139def..332a8ae 100644 --- a/flake.nix +++ b/flake.nix @@ -159,18 +159,18 @@ mac = darwin.lib.darwinSystem { system = "aarch64-darwin"; specialArgs = {inherit inputs;}; - modules = - defaultModules - ++ [ - { - home-manager.useGlobalPkgs = true; - home-manager.useUserPackages = true; - home-manager.users.michael = import ./user/environments/mac/home.nix; - } + modules = [ + self.overlaysModule + home-manager.darwinModules.home-manager + { + home-manager.useGlobalPkgs = true; + home-manager.useUserPackages = true; + home-manager.users.michael = import ./user/environments/mac/home.nix; + } - ./modules/yabai.nix - ./machines/mac/configuration.nix - ]; + ./modules/yabai.nix + ./machines/mac/configuration.nix + ]; }; };