Skip to content

Userscript that introduces some user experience enhancements to the Nixpkgs and the NixOS manuals

Notifications You must be signed in to change notification settings

Tomaszal/nix-manual-enhancements

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4ae8b1b · Oct 16, 2023

History

18 Commits
Sep 18, 2023
Sep 13, 2023
Oct 16, 2023
Sep 26, 2023
Sep 12, 2023
Sep 12, 2023
Sep 13, 2023
Sep 19, 2023
Sep 13, 2023
Sep 13, 2023
Sep 12, 2023
Sep 13, 2023
Sep 13, 2023
Oct 16, 2023
Oct 16, 2023
Sep 26, 2023
Sep 13, 2023
Sep 18, 2023
Sep 12, 2023
Sep 12, 2023
Sep 18, 2023
Sep 18, 2023
Oct 16, 2023
Sep 15, 2023
Sep 18, 2023
Sep 26, 2023
Sep 26, 2023

Repository files navigation

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:

About

Userscript that introduces some user experience enhancements to the Nixpkgs and the NixOS manuals

Resources

Stars

Watchers

Forks

Packages

No packages published