about summary refs log tree commit diff
path: root/hosts/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/default.nix')
-rw-r--r--hosts/default.nix15
1 files changed, 14 insertions, 1 deletions
diff --git a/hosts/default.nix b/hosts/default.nix
index 0fc93e7..6808208 100644
--- a/hosts/default.nix
+++ b/hosts/default.nix
@@ -48,8 +48,21 @@ let
       nix-darwin.lib.darwinSystem
       {
         inherit system;
-        modules = [ ./darwin.nix ];
         specialArgs = extraArgs;
+        modules = [
+          ./darwin.nix
+          home-manager.darwinModules.home-manager
+          {
+            home-manager.useGlobalPkgs = true;
+            home-manager.useUserPackages = true;
+            home-manager.extraSpecialArgs = extraArgs;
+            home-manager.users."manuel.palenzuela" = {
+              imports = [
+                ./home-darwin.nix
+              ];
+            };
+          }
+        ];
       }
     else
       home-manager.lib.homeManagerConfiguration