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

programs.cargo.enable

Whether to enable management of cargo config.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.cargo.package

The cargo package to use.

Type: null or package

Default:

pkgs.cargo

Declared by:

programs.cargo.cargoHome

Directory to store cargo configuration & state. Setting this also sets $CARGO_HOME.

Type: null or string

Default:

null

Example:

${config.xdg.dataHome}/cargo

Declared by:

programs.cargo.settings

Available configuration options for the $CARGO_HOME/config see: https://doc.rust-lang.org/cargo/reference/config.html

Type: TOML value

Default:

{ }

Declared by: