# cassandra

## Options

### services.cassandra.enable

Whether to enable Add Cassandra process script…

*Type:* boolean

*Default:*

```nix
false
```

*Example:*

```nix
true
```

*Declared by:*

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

### services.cassandra.package

Which version of Cassandra to use

*Type:* package

*Default:*

```nix
pkgs.cassandra_4
```

*Example:*

```nix
pkgs.cassandra_4;
```

*Declared by:*

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

### services.cassandra.allowClients

Enables or disables the native transport server (CQL binary protocol)

*Type:* boolean

*Default:*

```nix
true
```

*Declared by:*

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

### services.cassandra.clusterName

The name of the cluster

*Type:* string

*Default:*

```nix
"Test Cluster"
```

*Declared by:*

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

### services.cassandra.extraConfig

Extra options to be merged into `cassandra.yaml` as nix attribute set.

*Type:* attribute set

*Default:*

```nix
{ }
```

*Example:*

```nix
{
  commitlog_sync_batch_window_in_ms = 3;
}
```

*Declared by:*

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

### services.cassandra.jvmOpts

Options to pass to the JVM through the JVM\_OPTS environment variable

*Type:* list of string

*Default:*

```nix
[ ]
```

*Declared by:*

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

### services.cassandra.listenAddress

Listen address

*Type:* string

*Default:*

```nix
"127.0.0.1"
```

*Example:*

```nix
"127.0.0.1"
```

*Declared by:*

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

### services.cassandra.seedAddresses

The addresses of hosts designated as contact points of the cluster

*Type:* list of string

*Default:*

```nix
[
  "127.0.0.1"
]
```

*Declared by:*

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