3 ms·
I just gave nix a go and so far it seems great. But do you know, if they’re a nicer options finder? The one I found where you just search all several thousand
by wredue 3y ago
I just gave nix a go and so far it seems great.
But do you know, if they’re a nicer options finder? The one I found where you just search all several thousand options kinda sucks. I want to just see my package (say, ssh) and just the ssh options, but the results get littered with irrelevancy.
- evgpbfhnr 3y agoWhen I roughly know what I'm doing I use search.nixos.org; if you give it the full services.foo prefix it's usually relevant enough, e.g. for ssh you'd want "services.openssh", which you can find skimming through the results of just searching 'ssh' first: https://search.nixos.org/options?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=services.openssh https://search.nixos.org/options?channel=unstable&from=0&siz... For anything I'm not 100% sure will be obvious I search through a local clone of the nixpkgs repo directly, but I'll be honest and say I just never took time to search for a better tool
- JasonSage 3y agoMy main usage of Nix is on non-NixOS machines, and I use Home Manager, and while it has a similar problem, just searching the options in the packages it provides configuration for is a smaller issue. Not sure if this helps you at all or not, it really depends on your usage of Nix, but for managing user configuration I do recommend Home Manager.
- smoldesu 3y ago> if they’re a nicer options finder? https://mynixos.com/ https://mynixos.com/ > I want to just see my package (say, ssh) and just the ssh options https://mynixos.com/nixpkgs/options/programs.ssh https://mynixos.com/nixpkgs/options/programs.ssh
- licebmi__at__ 3y agoI would suggest using man and searching like any piece of documentation. Specifically you are looking for `man configuration.nix`
- SuperSandro2000 3y agoThat's actually worse search experience and slower because less is struggling with the amount of lines.
- lillecarl 3y agohttps://mynixos.com/ https://mynixos.com/
- bembo 3y agoI found this a few weeks ago: https://github.com/mlvzk/manix https://github.com/mlvzk/manix