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.pet.enable

Whether to enable pet.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.pet.package

The pet package to use.

Type: null or package

Default:

pkgs.pet

Declared by:

programs.pet.selectcmdPackage

The fzf package to use. The package needed for the settings.selectcmd.

Type: null or package

Default:

pkgs.fzf

Declared by:

programs.pet.settings

Settings written to config.toml. See the pet documentation for details.

Type: TOML value

Default:

{ }

Declared by:

programs.pet.snippets

The snippets.

Type: list of (submodule)

Default:

[ ]

Declared by:

programs.pet.snippets.*.command

The command.

Type: string

Default:

""

Example:

"git rev-list --count HEAD"

Declared by:

programs.pet.snippets.*.description

Description of the snippet.

Type: string

Default:

""

Example:

"Count the number of commits in the current branch"

Declared by:

programs.pet.snippets.*.output

Example output of the command.

Type: string

Default:

""

Example:

"473"

Declared by:

programs.pet.snippets.*.tag

List of tags attached to the command.

Type: list of string

Default:

[ ]

Example:

[
  "git"
  "nixpkgs"
]

Declared by: