Skip to content

Options

cocogitto.alias

Alias for cog.

Type:

string

Default value:

"cog"

Declared in:

cocogitto.config

Configure cocogitto here.

Type:

attribute set

Default value:

{ }

Declared in:

cocogitto.enable

Whether to enable Cocogitto.

Type:

boolean

Default value:

false

Example value:

true

Declared in:

lefthook.alias

Alias for the lefthook command.

Type:

string

Default value:

"lefthook"

Example value:

"hooks"

Declared in:

lefthook.config

Config for lefthook. See https://lefthook.dev/configuration/.

Type:

attribute set

Default value:

{ }

Example value:

{
  pre-commit = {
    jobs = [
      {
        name = "hello";
        run = "echo world";
      }
    ];
    parallel = true;
  };
}

Declared in:

lefthook.enable

Whether to enable Lefthook.

Type:

boolean

Default value:

false

Example value:

true

Declared in:

lefthook.outputs.shellHook

The script to run on shell activation. It automatically installs the git hooks and removes unused/previously used ones.

Type:

string

Declared in:

lefthook.shellHook

Whether to add a shell hook which automatically installs the git hooks.

Type:

boolean

Default value:

true

Declared in:

task.alias

Alias for task, eg. set to , to be able to run , --list-all.

Type:

string

Default value:

"task"

Declared in:

task.enable

Whether to enable Task.

Type:

boolean

Default value:

false

Example value:

true

Declared in:

task.interval

Interval for task to check for filesystem changes/watcher updates.

Type:

string

Default value:

"5000ms"

Declared in:

task.lazy

Whether the taskfile should be built on-demand/lazily. It will probably not land in the gcroot and thus might get cleaned up with every gc. On the other hand, this way loading the devshell is faster. Decide for yourself :)

Type:

boolean

Default value:

true

Declared in:

task.tasks

Configure all your tasks here.

Type:

attribute set

Default value:

{ }

Declared in: