Alternative Package Sets: Difference between revisions
imported>Shazow m New URL for nixos-mailserver |
imported>Eyeinsky mNo edit summary |
||
Line 19: | Line 19: | ||
== NixOS Module Enhancements == | == NixOS Module Enhancements == | ||
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 < | 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/ip1981/nixsap Nixsap] - allows to run multiple instances of a service without containers. |
Revision as of 10:16, 2 June 2020
Nixpkgs replacements
Even though nixpkgs is currently the standard package set for nix and NixOS it is possible with medium effort to replace and rewrite the functionality. These Nixpkgs alternatives may build upon certain aspects of nixpkgs but most of the time serve a distinct purpose. This is a list of Nixpkgs alternatives.
- Triton - differences between Nixpkgs and Triton
- Nixcrpkgs Focused on cross-compiling
- NixWRT Build Router images with nix, based on nixpkgs
Overlays
Since NixOS-17.03 Nixpkgs provides the overlay feature which can be used to extend the Nixpkgs package set.
This is an non-exhaustive list of overlays:
- Rust-nightly overlay - details in Nixpkgs manual
- Overlay for Radeon Open-Compute packages
- Overlay by Rok Garbas for a set of python packages built by pypi2nix
NixOS Module Enhancements
Some external modules provide extra functionality to the nixpkgs module system. You can include these modules after extracting them onto the system by using imports = [ `path to module`]
or add them to your NIX_PATH
via NIX_PATH=$NIX_PATH:musnix=/path/to/musnix
and import them by including imports = [ <musnix> ]
in your configuration.nix
.
- Nixsap - allows to run multiple instances of a service without containers.
- musnix - real-time audio in NixOS.
- nixos-mailserver - full-featured mail server module
- X-Truder Nix-profiles - modules for Nix to quickly configure your system based on application profiles.