MyNixOS website logo
option

services.atticd.mode

Mode in which to run the server.

'monolithic' runs all components, and is suitable for single-node deployments.

'api-server' runs only the API server, and is suitable for clustering.

'garbage-collector' only runs the garbage collector periodically.

A simple NixOS-based Attic deployment will typically have one 'monolithic' and any number of 'api-server' nodes.

There are several other supported modes that perform one-off operations, but these are the only ones that make sense to run via the NixOS module.

Declarations
Type
one of "monolithic", "api-server", "garbage-collector"
Default
"monolithic"