Available Images
FFmpeg
FFmpeg 8.0.1 container image from LinuxServer.io
Nix
Official Nix 2.34.0 container image from NixOS
Why Pre-Built Images?
These container images are wrapped with Nix for several benefits:Reproducible Builds
Reproducible Builds
Each image is pinned to a specific digest with a Nix content hash, ensuring the exact same image is pulled every time.
Nix Integration
Nix Integration
Images can be referenced directly in Nix flakes and expressions, making them first-class citizens in your Nix infrastructure.
Declarative Configuration
Declarative Configuration
Define your entire container setup in Nix, from the base image to the runtime configuration.
Workaround for Nixpkgs Issues
Workaround for Nixpkgs Issues
These images include fixes for known Nixpkgs issues (e.g., #445481).
Quick Start
Using in a Flake
Add Nur Nix to your flake inputs:flake.nix
Building an Image
Build and load a container image:Image Architecture
All images are built forlinux/amd64 architecture and use dockerTools.pullImage from Nixpkgs to fetch upstream images with verification.
Structure
Each image definition includes:- Image Name: The upstream Docker image reference
- Tag: Specific version tag (e.g.,
8.0.1,2.34.0) - Digest: SHA256 digest for the exact image manifest
- Hash: Nix content hash for reproducibility
- Attributes: Special attributes for structured attrs and reference handling
The
unsafeDiscardReferences attribute is required due to Nixpkgs issue #445481 to properly handle image references.Next Steps
FFmpeg Image
Learn about the FFmpeg container image
Nix Image
Explore the official Nix container image
