Jump to content

Talk:NixOS modules: Difference between revisions

From NixOS Wiki
Latest comment: 3 June by Spectre in topic Show how to add modules from GitHub
imported>Makefu
No edit summary
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:


After talking with infinisil in the nixos-wiki matrix channel i added the respective information --[[User:Makefu|Makefu]] ([[User talk:Makefu|talk]]) 17:53, 23 July 2021 (UTC)
After talking with infinisil in the nixos-wiki matrix channel i added the respective information --[[User:Makefu|Makefu]] ([[User talk:Makefu|talk]]) 17:53, 23 July 2021 (UTC)
== Show how to add modules from GitHub ==
The second paragraph states
> For example, <code>/etc/nixos/configuration.nix</code> is a module. Most other modules are in <code>[https://github.com/NixOS/nixpkgs/blob/master/nixos/modules nixos/modules]</code>.
It would be nice to have an example of you actually import one of these. Do I have to download them manually, or can I reference them? Make it easy for beginners to quickly use them. [[User:Spectre|Spectre]] ([[User talk:Spectre|talk]]) 20:49, 3 June 2025 (UTC)

Latest revision as of 20:49, 3 June 2025

How to use the mentioned `require` list exactly? It's in a single example without explanation, and also not explained in the nixOS manual.

After talking with infinisil in the nixos-wiki matrix channel i added the respective information --Makefu (talk) 17:53, 23 July 2021 (UTC)Reply

Show how to add modules from GitHub

The second paragraph states

> For example, /etc/nixos/configuration.nix is a module. Most other modules are in nixos/modules.

It would be nice to have an example of you actually import one of these. Do I have to download them manually, or can I reference them? Make it easy for beginners to quickly use them. Spectre (talk) 20:49, 3 June 2025 (UTC)Reply