From 1bbd4e19c5595e6a6c310bd36fac5b4bd97ff39f Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 16 Dec 2024 09:25:23 -0800 Subject: refactor home-manager Only install what's needed for specific OSes. --- nix/lib/mkSystem.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'nix/lib') diff --git a/nix/lib/mkSystem.nix b/nix/lib/mkSystem.nix index 13e052e..2375adf 100644 --- a/nix/lib/mkSystem.nix +++ b/nix/lib/mkSystem.nix @@ -33,7 +33,10 @@ systemFunc rec { { home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; - home-manager.users.${user} = import userHMConfig { inputs = inputs; }; + home-manager.users.${user} = import userHMConfig { + inputs = inputs; + darwin = darwin; + }; } inputs.agenix.nixosModules.default -- cgit 1.4.1