Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

// integrations //

nix2gpu ships its integrations as part of the flake. You do not enable them by adding extra inputs upstream; if you are using the nix2gpu flake, they are already available.


// Nimi (modular services) //

Nimi is the runtime that powers services in nix2gpu. It runs NixOS modular services (Nix 25.11) without requiring a full init system.

  • Define services under services.<name> using modular service modules.
  • Tune runtime behavior with nimiSettings (restart, logging, startup).

See services & runtime for the workflow and examples.


// nix2container //

nix2gpu builds OCI images through Nimi’s mkContainerImage, which uses nix2container under the hood. You do not need to add a separate nix2container input to use nix2gpu containers.


// home-manager //

home-manager is integrated for user environment configuration. Use the home option to describe shell configuration, tools, and dotfiles in a modular way.

If you are porting an existing home-manager config that targets a non-root user, nix2gpu includes a convenience module:

inputs.nix2gpu.homeModules.force-root-user

See the home option for details.