Repolode
nixified-ai

nixified-ai/flake

A Nix flake that packages many AI tools, such as ComfyUI, so they can run on NixOS and Linux without manual dependency setup.

Stars
841
Forks
95
Open issues
50
Last commit
11 hours ago

What is it?

nixified.ai is a collection of Nix flake outputs that package AI software which is hard to run by hand because of package management and dependency complexity. Each output is a buildable, runnable package that you can start with a single nix run command.

The main current package is ComfyUI, a modular node-based Stable Diffusion interface, with NVIDIA variants available. Older packages such as InvokeAI and text-generation-webui are listed as deprecated and unmaintained, and users must pin to a specific earlier commit to run them. A wrapper script sets LD_LIBRARY_PATH so the packages can use host GPU drivers, and the project notes that this also works on Windows through NixOS-WSL.

The flake provides a binary cache at ai.cachix.org, so users can download prebuilt packages instead of compiling them locally.

Key features

  • 01Packages AI tools as Nix flake outputs runnable with a single nix run command.
  • 02Provides a binary cache so prebuilt packages can be downloaded instead of compiled.
  • 03Wrapper scripts expose host GPU drivers to the packaged applications.
  • 04Works on NixOS and Linux, and on Windows through NixOS-WSL.

Use cases

  • Running ComfyUI for Stable Diffusion image generation on a NixOS machine.
  • Trying out AI applications without manually resolving CUDA or Python dependencies.
  • Running AI tools on Windows through NixOS-WSL with the host GPU.

Quick start

  1. 1

    Enable the nixified.ai binary cache in your Nix configuration (NixOS: configuration.nix)

  2. 2

    Run the NVIDIA package from the README

    nix run github:nixified-ai/flake/2aeb76f52f72c7a242f20e9bc47cfaa2ed65915d#invokeai-nvidia

Things to know

  • Primarily targets NixOS and Linux; Windows support requires NixOS-WSL.
  • The AMD package is broken due to missing Nixpkgs ROCm support.
  • Several packages (InvokeAI, textgen) are unmaintained and deprecated for lack of funding.
  • Licensed AGPL-3.0, with a stated transition to MIT for new contributions.

In collections

Topics

FAQ

What is flake?
A Nix flake that packages many AI tools, such as ComfyUI, so they can run on NixOS and Linux without manual dependency setup. nixified.ai is a collection of Nix flake outputs that package AI software which is hard to run by hand because of package management and dependency complexity. Each output is a buildable, runnable package that you can start with a single nix run command.
Is flake free to use? What license does it have?
flake is open source under the AGPL-3.0 license. Check the license terms before using it in commercial products.
Is flake still maintained?
Actively maintained. The last commit to flake was on Nov 6, 2026.
What can I use flake for?
Running ComfyUI for Stable Diffusion image generation on a NixOS machine. Trying out AI applications without manually resolving CUDA or Python dependencies. Running AI tools on Windows through NixOS-WSL with the host GPU.
How do I install flake?
Enable the nixified.ai binary cache in your Nix configuration (NixOS: configuration.nix) Run the NVIDIA package from the README: nix run github:nixified-ai/flake/2aeb76f52f72c7a242f20e9bc47cfaa2ed65915d#invokeai-nvidia
Where can I get flake?
The source code and installation instructions are on GitHub: https://github.com/nixified-ai/flake

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects