# \[NOOB\] How to get Nix to include submodules in /nix/store (so home-manager is able to source them)

**URL:** https://discourse.nixos.org/t/noob-how-to-get-nix-to-include-submodules-in-nix-store-so-home-manager-is-able-to-source-them/46625
**Category:** Help
**Created:** [June 7, 2024, 3:21am UTC](https://discourse.nixos.org/t/noob-how-to-get-nix-to-include-submodules-in-nix-store-so-home-manager-is-able-to-source-them/46625 "2024-06-07T03:21:13Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![VTimofeenko](https://discourse.nixos.org/user_avatar/discourse.nixos.org/vtimofeenko/32/13075_2.png) [@VTimofeenko](https://discourse.nixos.org/u/VTimofeenko)
#### Post date: [June 7, 2024, 5:34am UTC](https://discourse.nixos.org/t/noob-how-to-get-nix-to-include-submodules-in-nix-store-so-home-manager-is-able-to-source-them/46625/2 "2024-06-07T05:34:06Z")

</div>

To continue using the files as a submodule, you would need to fetch submodules explicitly for the corresponding input, like in [this thread](https://discourse.nixos.org/t/get-nix-flake-to-include-git-submodule/30324).

For programs that are supported by home manager it would be better to migrate to the home manager’s options rather than managing symlinks.

---

_[View the full topic](https://discourse.nixos.org/t/noob-how-to-get-nix-to-include-submodules-in-nix-store-so-home-manager-is-able-to-source-them/46625)._
