From bfecd4fadf33b9ffb2ffc91e248aedde09d806cf Mon Sep 17 00:00:00 2001 From: Lumpiasty Date: Mon, 31 Aug 2026 00:50:44 +0200 Subject: [PATCH] Enable home manager on darwin --- flake.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 69f8736..86d88d5 100644 --- a/flake.nix +++ b/flake.nix @@ -76,7 +76,16 @@ gaming-pc = mkNixosSystem {} hosts/gaming-pc.nix; }; darwinConfigurations."MacBook-Pro-Macbook" = nix-darwin.lib.darwinSystem { - modules = [ ((import ./configuration.nix) self) ]; + modules = [ + ((import ./configuration.nix) self) + inputs.home-manager.darwinModules.home-manager + { + home-manager.useGlobalPkgs = true; + home-manager.useUserPackages = true; + home-manager.verbose = true; + home-manager.users.macbookpro = ./home-modules; + } + ]; }; }; }