Home Manager `home.activation` access to packages in `home.packages`

Two alternatives that you could try:

  1. Change hm.dag.entryAfter [ "writeBoundary" ] to hm.dag.entryAfter [ "installPackages" ] and simply run $DRY_RUN_CMD git … since Git should be available in the user’s PATH.

  2. Use PATH="${config.home.path}/bin:$PATH" $DRY_RUN_CMD git …. The home.path option is considered internal but should be reasonably stable for use.

2 Likes