about summary refs log tree commit diff
path: root/nix/lib
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-12-16 09:25:23 -0800
committerFranck Cuny <franck@fcuny.net>2024-12-16 09:25:23 -0800
commit1bbd4e19c5595e6a6c310bd36fac5b4bd97ff39f (patch)
treee5ec852d0aa9378a5fae766f70d4c133acd5f8d1 /nix/lib
parentmove gitotlite to vm-synology (diff)
downloadworld-1bbd4e19c5595e6a6c310bd36fac5b4bd97ff39f.tar.gz
refactor home-manager
Only install what's needed for specific OSes.
Diffstat (limited to 'nix/lib')
-rw-r--r--nix/lib/mkSystem.nix5
1 files changed, 4 insertions, 1 deletions
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