Alternative Package Sets: Difference between revisions

From NixOS Wiki
imported>Nix
m move to guides category
imported>Toraritte
Move "NixOS Module Enhancements" section to Modules article
Line 1: Line 1:
== Nixpkgs replacements ==
== 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 [https://github.com/nixos/nixpkgs Nixpkgs] alternatives.
Even though [https://github.com/nixos/nixpkgs Nixpkgs] is currently the '''standard''' package set for Nix and NixOS, it can be replaced by another with different conventions and/or functionality. An alternative package set may build upon certain aspects of Nixpkgs, but more often than not it serves a distinct purpose.  


This is a list of [https://github.com/nixos/nixpkgs Nixpkgs] alternatives:
* [https://github.com/DavidEGrayson/nixcrpkgs Nixcrpkgs] Focused on cross-compiling
* [https://github.com/triton/triton Triton] - [https://triton.github.io/triton/triton-vs-nixos.html differences between Nixpkgs and Triton]
* [https://github.com/triton/triton Triton] - [https://triton.github.io/triton/triton-vs-nixos.html differences between Nixpkgs and Triton]
* [https://github.com/DavidEGrayson/nixcrpkgs Nixcrpkgs] Focused on cross-compiling
* [https://github.com/telent/nixwrt/ NixWRT] Build Router images with nix, based on nixpkgs
* [https://github.com/telent/nixwrt/ NixWRT] Build Router images with nix, based on nixpkgs


Line 16: Line 18:
* [https://github.com/peter-sa/nixos-rocm Overlay for Radeon Open-Compute packages]
* [https://github.com/peter-sa/nixos-rocm Overlay for Radeon Open-Compute packages]
* [https://github.com/garbas/nixpkgs-python Overlay by Rok Garbas for a set of python packages built by pypi2nix]
* [https://github.com/garbas/nixpkgs-python 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 <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.


[[Category:NixOS]]
[[Category:NixOS]]

Revision as of 13:12, 2 August 2022

Nixpkgs replacements

Even though Nixpkgs is currently the standard package set for Nix and NixOS, it can be replaced by another with different conventions and/or functionality. An alternative package set may build upon certain aspects of Nixpkgs, but more often than not it serves a distinct purpose.

This is a list of Nixpkgs alternatives:

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: