# Documentation

**URL:** https://discourse.nixosstag.fcio.net/c/dev/documentation/25.md

[Latest](https://discourse.nixosstag.fcio.net/latest.md) · [Categories](https://discourse.nixosstag.fcio.net/categories.md)

---

## [About the Documentation category](https://discourse.nixosstag.fcio.net/t/about-the-documentation-category/4547)

<div class="topic-metadata">

**Author:** [@zimbatm](https://discourse.nixosstag.fcio.net/u/zimbatm)\
**Replies:** 0

</div>

This is the place where we talk about documentation. The goal is to improve reference and learning material. Here you can also get in touch with the Nix documentation team.

---

## [Sphinx support for Nix?](https://discourse.nixosstag.fcio.net/t/sphinx-support-for-nix/4998)

<div class="topic-metadata">

**Author:** [@parkerhoyes](https://discourse.nixosstag.fcio.net/u/parkerhoyes)\
**Replies:** 7\
**Last updated:** [July 30, 2025, 3:49pm UTC](https://discourse.nixosstag.fcio.net/t/sphinx-support-for-nix/4998 "2025-07-30T15:49:11Z")

</div>

I’ve only just started experimenting with Nix recently but so far I’ve enjoyed how expressive and powerful the build system can be. One thing I have not enjoyed however is the lack of documentation in certain areas, esp…

---

## [Can I add libraries with no dependents \_inside\_ nixpkgs?](https://discourse.nixosstag.fcio.net/t/can-i-add-libraries-with-no-dependents-inside-nixpkgs/66396)

<div class="topic-metadata">

**Author:** [@jherland](https://discourse.nixosstag.fcio.net/u/jherland)\
**Replies:** 5\
**Last updated:** [July 15, 2025, 3:31pm UTC](https://discourse.nixosstag.fcio.net/t/can-i-add-libraries-with-no-dependents-inside-nixpkgs/66396 "2025-07-15T15:31:43Z")

</div>

Hi, as part of helping a client upstream suitable parts of their nixpkgs overlay, I’m adding some new packages to nixpkgs. Some of these packages are libraries that (as of now) have no users/dependents inside nixpkgs, b…

---

## [NixOS Anywhere Disko demonstration](https://discourse.nixosstag.fcio.net/t/nixos-anywhere-disko-demonstration/66264)

<div class="topic-metadata">

**Author:** [@randomizedcoder](https://discourse.nixosstag.fcio.net/u/randomizedcoder)\
**Replies:** 0\
**Last updated:** [June 30, 2025, 4:08pm UTC](https://discourse.nixosstag.fcio.net/t/nixos-anywhere-disko-demonstration/66264 "2025-06-30T16:08:29Z")

</div>

NixOS Anywhere Disko demonstration

---

## [Nix-channel: forcing an update](https://discourse.nixosstag.fcio.net/t/nix-channel-forcing-an-update/64940)

<div class="topic-metadata">

**Author:** [@donttellmetonottellu](https://discourse.nixosstag.fcio.net/u/donttellmetonottellu)\
**Replies:** 15\
**Last updated:** [June 11, 2025, 5:08pm UTC](https://discourse.nixosstag.fcio.net/t/nix-channel-forcing-an-update/64940 "2025-06-11T17:08:12Z")

</div>

Hi, I am not sure this is the right place, but I wanted to mention there is no documentation on how to force nix-channel to update all channels even when the channels have been recently updated. There is also no document…

---

## [Why do some \*.package options have no default?](https://discourse.nixosstag.fcio.net/t/why-do-some-package-options-have-no-default/65113)

<div class="topic-metadata">

**Author:** [@digitalrobot](https://discourse.nixosstag.fcio.net/u/digitalrobot)\
**Replies:** 2\
**Last updated:** [June 2, 2025, 12:57pm UTC](https://discourse.nixosstag.fcio.net/t/why-do-some-package-options-have-no-default/65113 "2025-06-02T12:57:27Z")

</div>

Is there a reason to not have the package as a default inside an option? In particular i stumbled upon the new hardware.graphics.package and hardware.graphics.package32 options which are only set at runtime, if hardware…

---

## [Nix Roadmaps (Skill Trees)](https://discourse.nixosstag.fcio.net/t/nix-roadmaps-skill-trees/64156)

<div class="topic-metadata">

**Author:** [@sshine](https://discourse.nixosstag.fcio.net/u/sshine)\
**Replies:** 4\
**Last updated:** [May 13, 2025, 9:55am UTC](https://discourse.nixosstag.fcio.net/t/nix-roadmaps-skill-trees/64156 "2025-05-13T09:55:48Z")

</div>

Since an acquaintance showed me https://roadmap.sh a couple of weeks ago, I have been brewing on the idea of building different roadmaps with different angles for learning Nix. When I read the Nix Ecosystem Mind Map thre…

---

## [There are 3 Nvidia Wiki pages for NixOS](https://discourse.nixosstag.fcio.net/t/there-are-3-nvidia-wiki-pages-for-nixos/64066)

<div class="topic-metadata">

**Author:** [@LinuxIsBest](https://discourse.nixosstag.fcio.net/u/LinuxIsBest)\
**Replies:** 33\
**Last updated:** [May 11, 2025, 5:14pm UTC](https://discourse.nixosstag.fcio.net/t/there-are-3-nvidia-wiki-pages-for-nixos/64066 "2025-05-11T17:14:04Z")

</div>

I am trying to make a generic basic config (one size fits most) that others can use. The AMD and Intel configurations were really easy. But then I stumbled upon Nvidia, and discovered it was not going to be so easy, es…

---

## [Depreciate the use of nix-env to install packages?](https://discourse.nixosstag.fcio.net/t/depreciate-the-use-of-nix-env-to-install-packages/20139)

<div class="topic-metadata">

**Author:** [@Solene](https://discourse.nixosstag.fcio.net/u/Solene)\
**Replies:** 43\
**Last updated:** [April 6, 2025, 5:01am UTC](https://discourse.nixosstag.fcio.net/t/depreciate-the-use-of-nix-env-to-install-packages/20139 "2025-04-06T05:01:19Z")

</div>

Hi, It seems using nix-env for installing packages is a bad habit for nix/NixOS users and that it’s not recommended from the community. If this is true, we should update the Wiki to stop referring to this command as the…

---

## [Possible best practice for using lib.extend for custom config functions](https://discourse.nixosstag.fcio.net/t/possible-best-practice-for-using-lib-extend-for-custom-config-functions/62345)

<div class="topic-metadata">

**Author:** [@EmergentMind](https://discourse.nixosstag.fcio.net/u/EmergentMind)\
**Replies:** 3\
**Last updated:** [April 1, 2025, 5:07pm UTC](https://discourse.nixosstag.fcio.net/t/possible-best-practice-for-using-lib-extend-for-custom-config-functions/62345 "2025-04-01T17:07:08Z")

</div>

I was recently made aware that the nixpkgs manual recommends against using lib.extend to add custom functions to a config because doing so may cause interoperability conflicts with other modules. While I understand the c…

---

## [Parting from the documentation team](https://discourse.nixosstag.fcio.net/t/parting-from-the-documentation-team/24900)

<div class="topic-metadata">

**Author:** [@domenkozar](https://discourse.nixosstag.fcio.net/u/domenkozar)\
**Replies:** 37\
**Last updated:** [March 12, 2025, 2:35pm UTC](https://discourse.nixosstag.fcio.net/t/parting-from-the-documentation-team/24900 "2025-03-12T14:35:49Z")

</div>

Hi everyone, Back in the summer of 2022 we formed a documentation team with a focus on flattening the learning curve. We’ve worked together with Valentin to add a comprehensive tutorial on Nix language and made a numbe…

---

## [What is Nixpkgs preferred programming language?](https://discourse.nixosstag.fcio.net/t/what-is-nixpkgs-preferred-programming-language/53848)

<div class="topic-metadata">

**Author:** [@gytis-ivaskevicius](https://discourse.nixosstag.fcio.net/u/gytis-ivaskevicius)\
**Replies:** 88\
**Last updated:** [March 4, 2025, 9:29pm UTC](https://discourse.nixosstag.fcio.net/t/what-is-nixpkgs-preferred-programming-language/53848 "2025-03-04T21:29:24Z")

</div>

In nixpkgs in most cases have bash under the hood, but in more complex cases we use other languages: Perl (it is all over the place) Python (if I recall correctly /boot setup is written in Python) Rust (I think we have…

---

## [Map -\> map.sh mistake in document module-system](https://discourse.nixosstag.fcio.net/t/map-map-sh-mistake-in-document-module-system/61148)

<div class="topic-metadata">

**Author:** [@Samuka007](https://discourse.nixosstag.fcio.net/u/Samuka007)\
**Replies:** 1\
**Last updated:** [March 4, 2025, 3:26pm UTC](https://discourse.nixosstag.fcio.net/t/map-map-sh-mistake-in-document-module-system/61148 "2025-03-04T15:26:33Z")

</div>

It should be ${map.sh} ? Since it’s a small patch I’m not going to pr on that. ( I can’t find a suitable issue type on that so I leave it here. )

---

## [\`access-tokens\` is underspecified](https://discourse.nixosstag.fcio.net/t/access-tokens-is-underspecified/60410)

<div class="topic-metadata">

**Author:** [@andrewhamon](https://discourse.nixosstag.fcio.net/u/andrewhamon)\
**Replies:** 1\
**Last updated:** [February 16, 2025, 8:32pm UTC](https://discourse.nixosstag.fcio.net/t/access-tokens-is-underspecified/60410 "2025-02-16T20:32:22Z")

</div>

The documentation for access-tokens is quite underspecified. I posted here, not help, since I don’t even know if i need help. I’m left with so many questions that I can’t even assess if this feature is interesting to me …

---

## [Description of the attribute \`inputDrvs\` in the Nix-manual](https://discourse.nixosstag.fcio.net/t/description-of-the-attribute-inputdrvs-in-the-nix-manual/60190)

<div class="topic-metadata">

**Author:** [@ilneit](https://discourse.nixosstag.fcio.net/u/ilneit)\
**Replies:** 12\
**Last updated:** [February 13, 2025, 3:02pm UTC](https://discourse.nixosstag.fcio.net/t/description-of-the-attribute-inputdrvs-in-the-nix-manual/60190 "2025-02-13T15:02:05Z")

</div>

When trying to understand how pkgs/build-support/buildenv/default.nix works, I recently stepped over the article https://nixos.org/guides/nix-pills/06-our-first-derivation.html where I learned about the meaning of the at…

---

## [Automatically AI-generated documentation?](https://discourse.nixosstag.fcio.net/t/automatically-ai-generated-documentation/58829)

<div class="topic-metadata">

**Author:** [@axelr340](https://discourse.nixosstag.fcio.net/u/axelr340)\
**Replies:** 4\
**Last updated:** [January 16, 2025, 1:30am UTC](https://discourse.nixosstag.fcio.net/t/automatically-ai-generated-documentation/58829 "2025-01-16T01:30:26Z")

</div>

I’m building an AI tool that generates a visual map of features implemented in a codebase. We want to offer our tool for free to open-source projects. For example, this pacemaker C++ code: DDDPaceMaker/PaceMaker.cpp at …

---

## [Splitting the Nixpkgs and NixOS manuals into pages](https://discourse.nixosstag.fcio.net/t/splitting-the-nixpkgs-and-nixos-manuals-into-pages/55466)

<div class="topic-metadata">

**Author:** [@fricklerhandwerk](https://discourse.nixosstag.fcio.net/u/fricklerhandwerk)\
**Replies:** 9\
**Last updated:** [January 7, 2025, 10:51pm UTC](https://discourse.nixosstag.fcio.net/t/splitting-the-nixpkgs-and-nixos-manuals-into-pages/55466 "2025-01-07T22:51:49Z")

</div>

It’s a well-known problem that the Nixpkgs and NixOS single-page manuals have grown too large for many use cases. This is why @getpsyched, with some of my guidance, is now building the infrastructure to split it into se…

---

## [Transitioning from imperative to declarative package management with nix alone](https://discourse.nixosstag.fcio.net/t/transitioning-from-imperative-to-declarative-package-management-with-nix-alone/28728)

<div class="topic-metadata">

**Author:** [@iFreilicht](https://discourse.nixosstag.fcio.net/u/iFreilicht)\
**Replies:** 3\
**Last updated:** [December 11, 2024, 9:08pm UTC](https://discourse.nixosstag.fcio.net/t/transitioning-from-imperative-to-declarative-package-management-with-nix-alone/28728 "2024-12-11T21:08:28Z")

</div>

I know we want to move people away from just installing packages with nix-env or nix-profile, and so I was searching for a good stop-gap before moving to something like home-manager that just used first-party tooling. In…

---

## [The LiveUSB is people's first impression](https://discourse.nixosstag.fcio.net/t/the-liveusb-is-peoples-first-impression/47464)

<div class="topic-metadata">

**Author:** [@TomB](https://discourse.nixosstag.fcio.net/u/TomB)\
**Replies:** 11\
**Last updated:** [December 8, 2024, 12:12am UTC](https://discourse.nixosstag.fcio.net/t/the-liveusb-is-peoples-first-impression/47464 "2024-12-08T00:12:56Z")

</div>

I’ve been meaning to try out nixos for a while, the concept is great but the live usb is the first impression people get. Here’s what happened. Downloaded an dd’d the liveusb from the website. Grabbed the plasma one as…

---

## [Better navigation of nixos.org manuals](https://discourse.nixosstag.fcio.net/t/better-navigation-of-nixos-org-manuals/2085)

<div class="topic-metadata">

**Author:** [@asymmetric](https://discourse.nixosstag.fcio.net/u/asymmetric)\
**Replies:** 20\
**Last updated:** [October 6, 2024, 7:47pm UTC](https://discourse.nixosstag.fcio.net/t/better-navigation-of-nixos-org-manuals/2085 "2024-10-06T19:47:56Z")

</div>

I was navigating the Nixpkgs manuals lately, and a couple of tweaks came to mind that would make navigation a lot easier: Have a table of contents static sidebar thingy, à la Rust book Keep the TOC at the top, but mak…

---

## [Install doc assumes bash](https://discourse.nixosstag.fcio.net/t/install-doc-assumes-bash/53750)

<div class="topic-metadata">

**Author:** [@sfermigier](https://discourse.nixosstag.fcio.net/u/sfermigier)\
**Replies:** 4\
**Last updated:** [October 1, 2024, 3:49pm UTC](https://discourse.nixosstag.fcio.net/t/install-doc-assumes-bash/53750 "2024-10-01T15:49:27Z")

</div>

On the install page, I read: Install Nix via the recommended multi-user installation: $ sh \<(curl -L https://nixos.org/nix/install) However, it doesn’t work with Fish: fish: Invalid redirection target: sh \<(curl -L…

---

## [Updating Brew vs. updating Nix on MacOS](https://discourse.nixosstag.fcio.net/t/updating-brew-vs-updating-nix-on-macos/53751)

<div class="topic-metadata">

**Author:** [@sfermigier](https://discourse.nixosstag.fcio.net/u/sfermigier)\
**Replies:** 0\
**Last updated:** [October 1, 2024, 2:52pm UTC](https://discourse.nixosstag.fcio.net/t/updating-brew-vs-updating-nix-on-macos/53751 "2024-10-01T14:52:48Z")

</div>

Nix From the doc, on MacOS: Multi-user Nix users on macOS can upgrade Nix by running: sudo -i sh -c 'nix-channel --update && nix-env --install --attr nixpkgs.nix && launchctl remove org.nixos.nix-daemon && launchctl…

---

## [This month in Nix documentation - #6 - March to May 2024](https://discourse.nixosstag.fcio.net/t/this-month-in-nix-documentation-6-march-to-may-2024/46894)

<div class="topic-metadata">

**Author:** [@fricklerhandwerk](https://discourse.nixosstag.fcio.net/u/fricklerhandwerk)\
**Replies:** 0\
**Last updated:** [June 12, 2024, 9:46am UTC](https://discourse.nixosstag.fcio.net/t/this-month-in-nix-documentation-6-march-to-may-2024/46894 "2024-06-12T09:46:32Z")

</div>

All issues of “This month in Nix documentation” News The latest documentation team report summarises our activities between October 2022 and March 2023. @fricklerhandwerk started offering regular documentation office h…

---

## [This month in Nix documentation - #7 - June 2024](https://discourse.nixosstag.fcio.net/t/this-month-in-nix-documentation-7-june-2024/48725)

<div class="topic-metadata">

**Author:** [@fricklerhandwerk](https://discourse.nixosstag.fcio.net/u/fricklerhandwerk)\
**Replies:** 0\
**Last updated:** [July 9, 2024, 9:32am UTC](https://discourse.nixosstag.fcio.net/t/this-month-in-nix-documentation-7-june-2024/48725 "2024-07-09T09:32:11Z")

</div>

All issues of “This month in Nix documentation” News A series of broken URLs plagued the Nix manual after the migration from nixos.org to nix.dev. This was largely fixed, with a few exceptions where historical redirect…

---

## [This month in Nix documentation - #8 - July/August 2024](https://discourse.nixosstag.fcio.net/t/this-month-in-nix-documentation-8-july-august-2024/51758)

<div class="topic-metadata">

**Author:** [@fricklerhandwerk](https://discourse.nixosstag.fcio.net/u/fricklerhandwerk)\
**Replies:** 0\
**Last updated:** [September 7, 2024, 8:17pm UTC](https://discourse.nixosstag.fcio.net/t/this-month-in-nix-documentation-8-july-august-2024/51758 "2024-09-07T20:17:39Z")

</div>

All issues of “This month in Nix documentation” News The past two months has seen some notable efforts that kept the world of Nix documentation spinning: @willbush triaged the entire issue backlog on nix.dev and helped…

---

## [How to interpret "NOTE" in Nixpkgs manual about overlays?](https://discourse.nixosstag.fcio.net/t/how-to-interpret-note-in-nixpkgs-manual-about-overlays/50776)

<div class="topic-metadata">

**Author:** [@toraritte](https://discourse.nixosstag.fcio.net/u/toraritte)\
**Replies:** 3\
**Last updated:** [August 18, 2024, 11:28am UTC](https://discourse.nixosstag.fcio.net/t/how-to-interpret-note-in-nixpkgs-manual-about-overlays/50776 "2024-08-18T11:28:24Z")

</div>

I set out to understand overlays, but found the following part in the Set overlays in NixOS or Nix expressions confusing (especially because I never even used one): The list of overlays can be passed explicitly when im…

---

## [\[Documentation-Error\] How does "Complete dependencies" section on Nix Reference Manual make sense?](https://discourse.nixosstag.fcio.net/t/documentation-error-how-does-complete-dependencies-section-on-nix-reference-manual-make-sense/49482)

<div class="topic-metadata">

**Author:** [@mindmantra](https://discourse.nixosstag.fcio.net/u/mindmantra)\
**Replies:** 4\
**Last updated:** [July 23, 2024, 10:28am UTC](https://discourse.nixosstag.fcio.net/t/documentation-error-how-does-complete-dependencies-section-on-nix-reference-manual-make-sense/49482 "2024-07-23T10:28:15Z")

</div>

Complete dependencies section in Nix Reference manual doesn’t make sense. Since Nix on the other hand doesn’t install packages in “global” locations like /usr/bin but in package-specific directories, the risk of incomp…

---

## [Diary of a new NixOS user - Thoughts/impressions/Obstacles](https://discourse.nixosstag.fcio.net/t/diary-of-a-new-nixos-user-thoughts-impressions-obstacles/47637)

<div class="topic-metadata">

**Author:** [@TomB](https://discourse.nixosstag.fcio.net/u/TomB)\
**Replies:** 5\
**Last updated:** [June 30, 2024, 7:45pm UTC](https://discourse.nixosstag.fcio.net/t/diary-of-a-new-nixos-user-thoughts-impressions-obstacles/47637 "2024-06-30T19:45:58Z")

</div>

I thought I’d document my experience with NixOS as a new user. This is kind of a mini review and my first impressions. As some background, I’ve been using Arch for about 10 years, I’ve used Mint and Fedora as daily dri…

---

## [2024-06-24 Documentation team meeting notes #133](https://discourse.nixosstag.fcio.net/t/2024-06-24-documentation-team-meeting-notes-133/47575)

<div class="topic-metadata">

**Author:** [@fricklerhandwerk](https://discourse.nixosstag.fcio.net/u/fricklerhandwerk)\
**Replies:** 0\
**Last updated:** [June 24, 2024, 9:52am UTC](https://discourse.nixosstag.fcio.net/t/2024-06-24-documentation-team-meeting-notes-133/47575 "2024-06-24T09:52:05Z")

</div>

Meeting info Past meeting notes Documentation office hours in the NixOS Calendar Attendees: @fricklerhandwerk @wamirez @djacu Notes by: @fricklerhandwerk Notes @fricklerhandwerk and @wamirez continued working on activ…

---

## [Comparision to yocto](https://discourse.nixosstag.fcio.net/t/comparision-to-yocto/47551)

<div class="topic-metadata">

**Author:** [@tastyherring](https://discourse.nixosstag.fcio.net/u/tastyherring)\
**Replies:** 1\
**Last updated:** [June 24, 2024, 9:04am UTC](https://discourse.nixosstag.fcio.net/t/comparision-to-yocto/47551 "2024-06-24T09:04:56Z")

</div>

There are lots article that compare flakes to cargo/rust, but I think yocto is a better comparison. In yocto groups of packages are composed with other groups of packages using layers. Similar new machines/platforms …

[Next page](https://discourse.nixosstag.fcio.net/c/dev/documentation/25.md?page=1)
