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:

process-compose

Define your process-compose instances here.

Type:

attribute set of (submodule)

Default value:

{ }

Declared in:

process-compose.<name>.alias

Alias for process-compose. Defaults to "pc" if ‹name› is "default"

Type:

string

Default value:

"‹name›"

Declared in:

process-compose.<name>.config

Configure process-compose here.

Type:

attribute set

Default value:

{ }

Declared in:

process-compose.<name>.lazy

Whether the process compose config 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

Define your Taskfile instances here.

Type:

attribute set of (submodule)

Default value:

{ }

Declared in:

task.<name>.alias

Alias for task, eg. set to , to be able to run , --list-all. Defaults to "task" if ‹name› is "default"

Type:

string

Default value:

"‹name›"

Declared in:

task.<name>.interval

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

Type:

string

Default value:

"5000ms"

Declared in:

task.<name>.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.<name>.tasks

Configure all your tasks here.

Type:

attribute set

Default value:

{ }

Declared in: