docs

ix

ix init

Create a minimal ix project in the current directory

Usage: ix init [OPTIONS]

Create a minimal ix project in the current directory.

Writes default.ix. The first ix apply scaffolds flake.nix next to it. Existing files are left untouched. With -t, scaffolds flake.nix pointed at a template flake instead.

options

  • -t, --template <FLAKE_REF> Scaffold from a template flake reference (e.g. github:owner/repo or github:owner/repo#config): writes a flake.nix whose input points at the template and re-exports its configurations. The template's files are referenced, not copied - ix needs no nix or git on this machine, so no template content is materialized locally; edit the generated flake to diverge from the template
  • --message-format <MESSAGE_FORMAT> Error format one of: human, short, json default: human