Adding nix to Fedora: we did a thing

Jens Petersen <petersen@redhat.com>

with Zbigniew Jędrzejewski-Szmek (zbyszek)

F44 Release Party, April 2026


https://petersen.fedorapeople.org/f44-release-party-nix.html

What is nix?

nix is:


nixpkgs

large package collection (distribution)

nixos

OS (including installer with default config, etc)

Packaging nix

difficult to package nix:

Copr package

very popular: screenshot

Fedora Change

with @zbyszek

https://fedoraproject.org/wiki/Changes/Nix_package_tool

Adding /nix

zbyszek crucial contribution that elevated this Change was petitioning FeSCo to allow /nix in Fedora with a special exception, which was approved!

This helped make this Change a lot more meaningful.

Upstream contributions needed

Packages structure


Installation

https://src.fedoraproject.org/rpms/nix

nixGL flake

Allows using OpenGL apps (Mesa) and also Vulkan.

Now documented in the package readme: https://src.fedoraproject.org/rpms/nix

Current status

Fedora package is quite good state now, including gating tests.

We have #fedora-nix on Matrix.

Good relationship with upstream

What is next?

Conclusions

Optional demo