Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve discoverability of options which are directly related to using packages on NixOS #222431

Open
Zahrun opened this issue Mar 21, 2023 · 1 comment

Comments

@Zahrun
Copy link
Contributor

Zahrun commented Mar 21, 2023

Problem

Some options, typically programs.<name>.enable, but also for example virtualisation.virtualbox.host.enable, or even services.<name> directly relate to installing or using a package in NixOS.
I wished that when searching for steam in https://search.nixos.org/packages, I would be directly informed that to install this on NixOS, I actually need to use the option programs.steam.enable.

Proposal

One option is to add the information in longDescription, similarly to how solaar indicates the appropriate option.

Another option would be to add a dedicated meta entry such as relatedOptions to point to all the options which are very relevant to then package, and to make it visible in https://search.nixos.org/packages.

What do you think? Any better idea?

Issues

#221698 steam
#196280 partition-manager
#12756 evolution
snowfallorg/nix-software-center#26

PRs

#122424 solaar
#222390 steam
#222397 partition-manager
#222403 virtualbox
#222405 docker
#222406 podman

@SuperSandro2000
Copy link
Member

This a stop gap solution, long term we should add an extra meta attribute that we can validate that it still exists, that holds this information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants