nixos-search icon indicating copy to clipboard operation
nixos-search copied to clipboard

Add home-manager search feature

Open busti opened this issue 4 years ago • 9 comments

Home manager has several services and config options available at https://github.com/nix-community/home-manager/tree/master/modules which are similar to nixos configuration options.

Searching through these manually or using github search is rather tedious. Using search.nixos.org to search through these feels like a natural extension of it's feature set.

busti avatar Jun 24 '21 18:06 busti

If I see correctly home manager expenses it's modules in it's flake definition.I'm working on flake support for nixos-search right now. After that it is a configuration issue I assume.

blocked by: #324

ysndr avatar Jun 24 '21 23:06 ysndr

in the meantime you can find all options here: https://rycee.gitlab.io/home-manager/options.html

ysndr avatar Aug 05 '21 11:08 ysndr

The blocker got merged a while ago.

SuperSandro2000 avatar Mar 09 '22 16:03 SuperSandro2000

The blocker got merged a while ago.

What needs to be done to get this working now?

pinpox avatar May 17 '22 15:05 pinpox

Decide how to expose the options in home-manager (see https://github.com/nix-community/home-manager/issues/2297#issuecomment-1079698898), and then reflect that in the nixos-search backend, probably also with a frontend change to separate HM options from NixOS options.

ncfavier avatar May 17 '22 15:05 ncfavier

We currently do not track flake options (iirc) but should be able to. However merging them with the nixos optionswould be more of a ui challenge and homeManager (as well as nix-Darwin for that matter) is special as it introduces its own framework separate from a configuraton.nix (although able to integrate)

ysndr avatar May 19 '22 10:05 ysndr

Did some work towards this in https://github.com/nix-community/home-manager/pull/2971 (not solving the main problem).

ncfavier avatar May 20 '22 12:05 ncfavier

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/the-nix-module-in-home-manager-and-nixos/20999/11

nixos-discourse avatar Aug 15 '22 12:08 nixos-discourse

Citing pinpox:

What needs to be done to get this working now?

Asqiir avatar Jun 13 '24 09:06 Asqiir