# temporal

## Options

### services.temporal.enable

Whether to enable Temporal process.

*Type:* boolean

*Default:*

```nix
false
```

*Example:*

```nix
true
```

*Declared by:*

* <https://github.com/cachix/devenv/blob/main/src/modules/services/temporal.nix>

### services.temporal.package

Which package of Temporal to use.

*Type:* package

*Default:*

```nix
pkgs.temporal-cli
```

*Declared by:*

* <https://github.com/cachix/devenv/blob/main/src/modules/services/temporal.nix>

### services.temporal.dynamicConfig

Dynamic configuration for the Temporal server.

*Type:* attribute set of string

*Default:*

```nix
{ }
```

*Example:*

```nix
{
  "frontend.namespacerps" = "2500";
  "frontend.rps" = "2500";
}
```

*Declared by:*

* <https://github.com/cachix/devenv/blob/main/src/modules/services/temporal.nix>

### services.temporal.ip

IPv4 address to bind the frontend service to.

*Type:* string

*Default:*

```nix
"127.0.0.1"
```

*Declared by:*

* <https://github.com/cachix/devenv/blob/main/src/modules/services/temporal.nix>

### services.temporal.namespaces

Specify namespaces that should be pre-created (namespace “default” is always created).

*Type:* list of string

*Default:*

```nix
[ ]
```

*Example:*

```nix
[
  "my-namespace"
  "my-other-namespace"
]
```

*Declared by:*

* <https://github.com/cachix/devenv/blob/main/src/modules/services/temporal.nix>

### services.temporal.port

Port for the frontend gRPC service.

*Type:* 16 bit unsigned integer; between 0 and 65535 (both inclusive)

*Default:*

```nix
7233
```

*Declared by:*

* <https://github.com/cachix/devenv/blob/main/src/modules/services/temporal.nix>

### services.temporal.state

State configuration.

*Type:* submodule

*Default:*

```nix
{ }
```

*Declared by:*

* <https://github.com/cachix/devenv/blob/main/src/modules/services/temporal.nix>

### services.temporal.state.ephemeral

When enabled, the Temporal state gets lost when the process exists.

*Type:* boolean

*Default:*

```nix
true
```

*Declared by:*

* <https://github.com/cachix/devenv/blob/main/src/modules/services/temporal.nix>

### services.temporal.state.sqlite-pragma

Sqlite pragma statements

*Type:* attribute set of string

*Default:*

```nix
{ }
```

*Example:*

```nix
{
  journal_mode = "wal";
  synchronous = "2";
}
```

*Declared by:*

* <https://github.com/cachix/devenv/blob/main/src/modules/services/temporal.nix>

### services.temporal.ui

UI configuration.

*Type:* submodule

*Default:*

```nix
{ }
```

*Declared by:*

* <https://github.com/cachix/devenv/blob/main/src/modules/services/temporal.nix>

### services.temporal.ui.enable

Enable the Web UI.

*Type:* boolean

*Default:*

```nix
true
```

*Declared by:*

* <https://github.com/cachix/devenv/blob/main/src/modules/services/temporal.nix>

### services.temporal.ui.ip

IPv4 address to bind the Web UI to.

*Type:* string

*Default:*

```nix
"127.0.0.1"
```

*Declared by:*

* <https://github.com/cachix/devenv/blob/main/src/modules/services/temporal.nix>

### services.temporal.ui.port

Port for the Web UI.

*Type:* 16 bit unsigned integer; between 0 and 65535 (both inclusive)

*Default:*

```nix
8233
```

*Declared by:*

* <https://github.com/cachix/devenv/blob/main/src/modules/services/temporal.nix>