# Can Home Manager install unstable and stable programs (modules) not just pkgs?

**URL:** https://discourse.nixos.org/t/can-home-manager-install-unstable-and-stable-programs-modules-not-just-pkgs/42919
**Category:** Help
**Created:** [April 8, 2024, 12:51am UTC](https://discourse.nixos.org/t/can-home-manager-install-unstable-and-stable-programs-modules-not-just-pkgs/42919 "2024-04-08T00:51:53Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![nixnewb](https://discourse.nixos.org/letter_avatar_proxy/v4/letter/n/43a26b/32.png) [@nixnewb](https://discourse.nixos.org/u/nixnewb)
#### Post date: [April 8, 2024, 2:36am UTC](https://discourse.nixos.org/t/can-home-manager-install-unstable-and-stable-programs-modules-not-just-pkgs/42919/3 "2024-04-08T02:36:35Z")

</div>

Thanks @VTimofeenko,

I’m trying to understand the solution from the post you have referred to:

```auto
inputs = {
    ...
    home-manager-unstable.url = "github:nix-community/home-manager";
  };

...

home-manager.users.alice =
  _: # { config, ... }: # config is home-manager's config, not the OS one
  {
    imports = [(inputs.home-manager-unstable + "/modules/programs/bemenu.nix")];
    home.stateVersion = "23.11";
    programs.bemenu.enable = true;
  };

```

in my context:

`flake.nix` (nix-darwin) with home manager module \> `home.nix` (home manager config) \>` mise.nix`, which lilkely would be easy to implement…

but I have started using umport [Umport: Automatic Import of Modules](https://discourse.nixos.org/t/umport-automatic-import-of-modules/39455/9), and as noob, I do not know how to get around what appears to be a limitation to just 1 use of `imports` per` .nix` file or just home manager config, to use `imports` as you have or to integrate it into my existing import of all my modules betow…

```auto
 imports = ylib.umport {
    paths = [./pkgs-home-manager/modules-macos-active ./options-home-manager];
    recursive = true;
  };

```

I have tried to add the following to `imports = ylib.umport {` as per its API, but it (obviously) gives an error:

` include = [(inputs.home-manager-unstable + "./pkgs-home-manager/modules-macos-active/cli/mise/mise.nix")];`

If not possible via umport (likely - another - question I must write it’s author), is there another way to import `mise.nix` equivalent of your solution from the other post re bemenu?

---

_[View the full topic](https://discourse.nixos.org/t/can-home-manager-install-unstable-and-stable-programs-modules-not-just-pkgs/42919)._
