fix: try breaking it out different

This commit is contained in:
2025-06-17 15:28:07 +01:00
committed by Emma Thorpe
parent c1b3d78213
commit bed08ad165
2 changed files with 16 additions and 7 deletions
+14
View File
@@ -0,0 +1,14 @@
{config, pkgs, lib, ...}:
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
lib.mkIf ( profile == "work" ) {
home-manager.users.emmathorpe.imports = [ ./home.nix ../system/modules/work/default.nix ];
};
lib.mkIf ( profile == "home" ) {
home-manager.users.emmathorpe.imports = [ ./home.nix ];
};
}