NixOS modules: Difference between revisions

imported>Asymmetric
m →‎Developing modules: remove stray .
imported>Asymmetric
Line 214: Line 214:
</syntaxhighlight>
</syntaxhighlight>


If you're developing on top of master, this will potentially cause the compilation of lots of packages, since master is not cached on cache.nixos.org. To avoid that, you can develop your module on top of nixos-unstable, by adding it as a remote:
If you're developing on top of master, this will potentially cause the compilation of lots of packages, since master is not cached on cache.nixos.org. To avoid that, you can develop your module on top of the <code>nixos-unstable</code> [[Channels|channel]], by adding <code>nixpkgs-channels</code> as a remote:


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">