Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 3.7 KB

README.md

File metadata and controls

46 lines (34 loc) · 3.7 KB

Nix Manual Enhancements

This is a userscript that introduces some user experience enhancements to the Nixpkgs and the NixOS manuals.

Nixpkgs, light NixOS, dark, search
Nixpkgs, light NixOS, dark, search

Features

  • Manual split into separate pages for each section
  • Navigation through a collapsible sidebar
  • Full-text search using Orama
  • Dark mode toggle using Dark Reader

Installation

  1. Install a userscript management browser extension (tested with Tampermonkey).
  2. Open the nix-manual-enhancements.user.js file in the latest release.
  3. The userscript manager should appear, where you simply need to click "Install".
  4. IMPORTANT (Firefox only): enable layout.css.has-selector.enabled flag in about:config.
  5. Done! Enjoy the manual enhancements.

Background

Nixpkgs and NixOS offer very extensive manuals which contain a great amount of knowledge about the software. Unfortunately, those manuals have a lackluster user experience, simply presenting everything as one large, difficult to browse document. While there have been many failed and ongoing attempts to address this issue, there is still no official solution. So, as a temporary fix, I created this userscript, which is a "band-aid" solution that should be good enough until the official documentation is converted into a better format. Once that is done, this userscript will be archived and deprecated.

Historical resources relevant to this issue:

Current resources to track regarding the current plan to resolve the issue: