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

Whether to enable mods.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.mods.enableBashIntegration

Whether to enable Bash integration.

Type: boolean

Default:

Example:

false

Declared by:

programs.mods.enableFishIntegration

Whether to enable Fish integration.

Type: boolean

Default:

Example:

false

Declared by:

programs.mods.enableZshIntegration

Whether to enable Zsh integration.

Type: boolean

Default:

Example:

false

Declared by:

programs.mods.package

The mods package to use.

Type: package

Default:

pkgs.mods

Declared by:

programs.mods.settings

Configuration written to $XDG_CONFIG_HOME/mods/mods.yml.

See https://github.com/charmbracelet/mods/blob/main/config_template.yml for the full list of options.

Type: YAML 1.1 value

Default:

{ }

Example:

''
  {
    default-model = "llama3.2";
    apis = {
      ollama = {
        base-url = "http://localhost:11434/api";
        models = {
          "llama3.2" = {
            max-input-chars = 650000;
          };
        };
      };
    };
  }
''

Declared by: