# memcached

## Options

### services.memcached.enable

Whether to enable memcached process.

*Type:* boolean

*Default:*

```nix
false
```

*Example:*

```nix
true
```

*Declared by:*

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

### services.memcached.package

Which package of memcached to use

*Type:* package

*Default:*

```nix
pkgs.memcached
```

*Declared by:*

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

### services.memcached.bind

The IP interface to bind to. `null` means “all interfaces”.

*Type:* null or 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/memcached.nix>

### services.memcached.port

The TCP port to accept connections. If port 0 is specified memcached will not listen on a TCP socket.

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

*Default:*

```nix
11211
```

*Declared by:*

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

### services.memcached.startArgs

Additional arguments passed to `memcached` during startup.

*Type:* list of strings concatenated with “\n”

*Default:*

```nix
[ ]
```

*Example:*

```nix
[
  "--memory-limit=100M"
]
```

*Declared by:*

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