Open busti opened 3 years ago
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
in the meantime you can find all options here: https://rycee.gitlab.io/home-manager/options.html
The blocker got merged a while ago.
The blocker got merged a while ago.
What needs to be done to get this working now?
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.
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)
Did some work towards this in https://github.com/nix-community/home-manager/pull/2971 (not solving the main problem).
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
Citing pinpox:
What needs to be done to get this working now?
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.