A big part of why nix documentation is sub par. The essential tomes of nix - the nix manual, the nixos manual, the nixos options, the nixpkgs manual - each of these documents is just one long page.

They are the digital equivalent of scrolls, rather than books (codices?).

Rather than having a page number (or page link), one must unroll the scroll to the point of interest. One cannot simply flip between two points of interest. One cannot have bookmarks, or refer to page numbers. Ctrl-F is helpful, sure, but not great.

For instance, I was just looking for the documentation of the systemd.services.<name> options. Its near the end of the colossally long scroll known as the Nixos Options Appendix. Ctrl-F on systemctl.services will get one million hits on all the myriad services nixos offers before you finally get to the relevant section. And if you do find that section (with single pixel movements of the scroll bar) and then ctrl-f, woe betide you, you’re now at the top of the document and your place is lost!

You are viewing a single thread.
View all comments
13 points

Why are you not using the options search at https://search.nixos.org ? Or an LSP that shows you options in your editor.

permalink
report
reply
2 points

Ha I never noticed the options search.

permalink
report
parent
reply
4 points

well then life just substantially improved for you.

permalink
report
parent
reply