NixOS modules: Difference between revisions
imported>Montchr Replace example of obsolete `require` option with `imports` |
imported>Toraritte Move "NixOS Module Enhancements" section from Alternative Package Sets article to here |
||
Line 228: | Line 228: | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== Using external NixOS modules === | |||
Some external modules provide extra functionality to the nixpkgs module system. You can include these modules after extracting them onto the system by using <code>imports = [ `path to module`]</code> or add them to your <code>NIX_PATH</code> via <code>NIX_PATH=$NIX_PATH:musnix=/path/to/musnix</code> and import them by including <code>imports = [ <musnix> ]</code> in your <code>configuration.nix</code>. | |||
* [https://github.com/ip1981/nixsap Nixsap] - allows to run multiple instances of a service without containers. | |||
* [https://github.com/musnix/musnix musnix] - real-time audio in NixOS. | |||
* [https://gitlab.com/simple-nixos-mailserver/nixos-mailserver nixos-mailserver] - full-featured mail server module | |||
* [https://github.com/xtruder/nix-profiles X-Truder Nix-profiles] - modules for Nix to quickly configure your system based on application profiles. | |||
== Under the hood == | == Under the hood == |