diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-08-30 07:00:02 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-08-30 07:11:07 +0530 |
commit | d1ed412ae63e847f1e1460dc7777c4f8d1bf23bc (patch) | |
tree | 58be5d0d70cc64d6c436787d09aeda9604b984a4 | |
parent | 1c1a361021652f1c300b4cb4c25585bef11cf064 (diff) |
flake/makeHomeImports: append imports from makeGlobalImports
-rw-r--r-- | flake.nix | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -24,7 +24,7 @@ ] ++ lib.optional (builtins.pathExists ./global/${host}) ./global/${host}; - makeHomeImports = host: [ + makeHomeImports = host: makeGlobalImports host ++ [ ./home/common/home.nix ] ++ lib.optional (builtins.pathExists ./home/${host}) ./home/${host}/home.nix; @@ -50,8 +50,7 @@ useGlobalPkgs = true; useUserPackages = true; users.${username} = { ... }: { - imports = (makeHomeImports host) - ++ (makeGlobalImports host); + imports = makeHomeImports host; }; }; }) @@ -60,8 +59,7 @@ makeHome = host: system: home-manager.lib.homeManagerConfiguration { pkgs = nixpkgs.legacyPackages.${system}; - modules = (makeHomeImports host) - ++ (makeGlobalImports host); + modules = makeHomeImports host; }; in { |