Options
services.nix-ci.production.loopers.config
The configuration of the loopers. Nothing is taken from the leader's configuration, so the settings the loopers share with the leader, such as the database, the workers and autoscaling, have to be given here too. A block they share is read the same way by both, so it can be inherited from the leader's configuration.
Type:
submodule
Default:
{ }
services.nix-ci.production.loopers.config.abandoned-run-recoverer
This option has no description.
Type:
submodule
services.nix-ci.production.loopers.config.abandoned-run-recoverer.enable
enable the abandoned-run-recoverer looper
Type:
null or boolean
Default: Unspecified
services.nix-ci.production.loopers.config.abandoned-run-recoverer.period
period of the abandoned-run-recoverer looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 15
services.nix-ci.production.loopers.config.abandoned-run-recoverer.phase
phase of the abandoned-run-recoverer looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 0
services.nix-ci.production.loopers.config.autoscale
This option has no description.
Type:
submodule
services.nix-ci.production.loopers.config.autoscale.command
Command to bring a worker up or shut it down, run by the leader as <command> <worker name> 1 or <command> <worker name> 0. The tick runs it as <command> <worker name> unless autoscale.tick.command is set, so a command that serves both has to tell the calls apart by how many arguments it gets.
Type:
null or string
Default: Unspecified
services.nix-ci.production.loopers.config.autoscale.scale-down-timeout
How long to wait after a worker has done no work before scaling it down
Type:
null or string or signed integer
Default: Unspecified, interpreted as "1h"
services.nix-ci.production.loopers.config.autoscale.still-up-threshold
How long since a worker last worked on a job before new work wakes it with <command> <worker name> 1
Type:
null or string or signed integer
Default: Unspecified, interpreted as "5m"
services.nix-ci.production.loopers.config.autoscale.tick
This option has no description.
Type:
submodule
services.nix-ci.production.loopers.config.autoscale.tick.command
Command to run for every worker on every interval, as <command> <worker name>, with the worker's queue and activity in its environment. Defaults to autoscale.command.
Type:
null or string
Default: Unspecified
services.nix-ci.production.loopers.config.autoscale.tick.enable
Whether to run the tick command. Turn it off while autoscale.command cannot handle being called with only a worker name.
Type:
null or boolean
Default: Unspecified, interpreted as true
services.nix-ci.production.loopers.config.autoscale.tick.interval
How long to wait between runs of the tick command. Every run queries the queue once per worker, so a short interval costs database time, and a long one leaves a pool short of machines for longer. At least 10s.
Type:
null or string or signed integer
Default: Unspecified, interpreted as "1m"
services.nix-ci.production.loopers.config.autoscale.tick.timeout
How long a tick command may run before it is stopped. A command still running holds up every later tick. Defaults to ten intervals.
Type:
null or string or signed integer
Default: Unspecified
services.nix-ci.production.loopers.config.autoscale.timeout
How long <command> <worker name> 1 and <command> <worker name> 0 may run before they are stopped. A command still running holds up new work for every worker.
Type:
null or string or signed integer
Default: Unspecified, interpreted as "10m"
services.nix-ci.production.loopers.config.background-job-garbage-collector
This option has no description.
Type:
submodule
services.nix-ci.production.loopers.config.background-job-garbage-collector.enable
enable the background-job-garbage-collector looper
Type:
null or boolean
Default: Unspecified
services.nix-ci.production.loopers.config.background-job-garbage-collector.period
period of the background-job-garbage-collector looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 86400
services.nix-ci.production.loopers.config.background-job-garbage-collector.phase
phase of the background-job-garbage-collector looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 60
services.nix-ci.production.loopers.config.billing-garbage-collector
This option has no description.
Type:
submodule
services.nix-ci.production.loopers.config.billing-garbage-collector.enable
enable the billing-garbage-collector looper
Type:
null or boolean
Default: Unspecified
services.nix-ci.production.loopers.config.billing-garbage-collector.period
period of the billing-garbage-collector looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 86400
services.nix-ci.production.loopers.config.billing-garbage-collector.phase
phase of the billing-garbage-collector looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 60
services.nix-ci.production.loopers.config.changelog-dir
The changelog of this release: a directory with an entries/ directory of markdown entries in it. The version of the newest entry is the release this process reports in its build info.
Type:
null or string
Default: Unspecified, interpreted as "changelog"
services.nix-ci.production.loopers.config.codeberg-user-access-token-refresher
This option has no description.
Type:
submodule
services.nix-ci.production.loopers.config.codeberg-user-access-token-refresher.enable
enable the codeberg-user-access-token-refresher looper
Type:
null or boolean
Default: Unspecified
services.nix-ci.production.loopers.config.codeberg-user-access-token-refresher.period
period of the codeberg-user-access-token-refresher looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 120
services.nix-ci.production.loopers.config.codeberg-user-access-token-refresher.phase
phase of the codeberg-user-access-token-refresher looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 0
services.nix-ci.production.loopers.config.codeberg-webhook-garbage-collector
This option has no description.
Type:
submodule
services.nix-ci.production.loopers.config.codeberg-webhook-garbage-collector.enable
enable the codeberg-webhook-garbage-collector looper
Type:
null or boolean
Default: Unspecified
services.nix-ci.production.loopers.config.codeberg-webhook-garbage-collector.period
period of the codeberg-webhook-garbage-collector looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 86400
services.nix-ci.production.loopers.config.codeberg-webhook-garbage-collector.phase
phase of the codeberg-webhook-garbage-collector looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 60
services.nix-ci.production.loopers.config.database
This option has no description.
Type:
submodule
services.nix-ci.production.loopers.config.database.postgresql
This option has no description.
Type:
submodule
services.nix-ci.production.loopers.config.database.postgresql.connections
The maximum number of connections in the pool
Type:
null or signed integer
Default: Unspecified, interpreted as 8
services.nix-ci.production.loopers.config.database.postgresql.database
The database name to connect to PostgreSQL with
Type:
null or string
Default: Unspecified, interpreted as "nix-ci-leader"
services.nix-ci.production.loopers.config.database.postgresql.host
The host of the PostgreSQL server
Type:
null or string
Default: Unspecified
services.nix-ci.production.loopers.config.database.postgresql.idle-in-transaction-timeout
How long any of this process's sessions may leave a transaction open without running a statement before PostgreSQL ends the session, releasing its locks. Too short ends transactions that are waiting on something other than the database; too long lets a forgotten transaction hold its locks. A duration, or off. Must be off when a transaction pooler is configured.
Type:
null or string or signed integer or value "off" (singular enum)
Default: Unspecified, interpreted as "5m"
services.nix-ci.production.loopers.config.database.postgresql.lock-timeout
How long a statement on this process's pools may wait for a lock before PostgreSQL cancels it. Too short fails requests that wait behind an ordinary transaction; too long lets requests pile up behind one that has stopped. A duration, or off. Must be off when a transaction pooler is configured.
Type:
null or string or signed integer or value "off" (singular enum)
Default: Unspecified, interpreted as "10s"
services.nix-ci.production.loopers.config.database.postgresql.password
The password to connect to PostgreSQL with
Type:
null or string
Default: Unspecified
services.nix-ci.production.loopers.config.database.postgresql.password-file
The password to connect to PostgreSQL with
Type:
null or string
Default: Unspecified
services.nix-ci.production.loopers.config.database.postgresql.port
The port of the PostgreSQL server
Type:
null or 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default: Unspecified, interpreted as 5432
services.nix-ci.production.loopers.config.database.postgresql.read-replica
This option has no description.
Type:
submodule
services.nix-ci.production.loopers.config.database.postgresql.read-replica.database
The database name to connect to PostgreSQL with
Type:
null or string
Default: Unspecified, interpreted as "nix-ci-leader"
services.nix-ci.production.loopers.config.database.postgresql.read-replica.host
The host of the PostgreSQL server
Type:
null or string
Default: Unspecified
services.nix-ci.production.loopers.config.database.postgresql.read-replica.password
The password to connect to PostgreSQL with
Type:
null or string
Default: Unspecified
services.nix-ci.production.loopers.config.database.postgresql.read-replica.password-file
The password to connect to PostgreSQL with
Type:
null or string
Default: Unspecified
services.nix-ci.production.loopers.config.database.postgresql.read-replica.port
The port of the PostgreSQL server
Type:
null or 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default: Unspecified, interpreted as 5432
services.nix-ci.production.loopers.config.database.postgresql.read-replica.sslcert
Path to the client SSL certificate
Type:
null or string
Default: Unspecified
services.nix-ci.production.loopers.config.database.postgresql.read-replica.sslkey
Path to the client SSL private key
Type:
null or string
Default: Unspecified
services.nix-ci.production.loopers.config.database.postgresql.read-replica.sslmode
The SSL mode for the PostgreSQL connection (disable, allow, prefer, require, verify-ca, verify-full)
Type:
null or string
Default: Unspecified
services.nix-ci.production.loopers.config.database.postgresql.read-replica.sslrootcert
Path to the root SSL certificate for server verification
Type:
null or string
Default: Unspecified
services.nix-ci.production.loopers.config.database.postgresql.read-replica.user
The user to connect to PostgreSQL as
Type:
null or string
Default: Unspecified, interpreted as "nix-ci-leader"
services.nix-ci.production.loopers.config.database.postgresql.session
This option has no description.
Type:
submodule
services.nix-ci.production.loopers.config.database.postgresql.session.database
The database name to connect to PostgreSQL with
Type:
null or string
Default: Unspecified, interpreted as "nix-ci-leader"
services.nix-ci.production.loopers.config.database.postgresql.session.host
The host of the PostgreSQL server
Type:
null or string
Default: Unspecified
services.nix-ci.production.loopers.config.database.postgresql.session.password
The password to connect to PostgreSQL with
Type:
null or string
Default: Unspecified
services.nix-ci.production.loopers.config.database.postgresql.session.password-file
The password to connect to PostgreSQL with
Type:
null or string
Default: Unspecified
services.nix-ci.production.loopers.config.database.postgresql.session.port
The port of the PostgreSQL server
Type:
null or 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default: Unspecified, interpreted as 5432
services.nix-ci.production.loopers.config.database.postgresql.session.sslcert
Path to the client SSL certificate
Type:
null or string
Default: Unspecified
services.nix-ci.production.loopers.config.database.postgresql.session.sslkey
Path to the client SSL private key
Type:
null or string
Default: Unspecified
services.nix-ci.production.loopers.config.database.postgresql.session.sslmode
The SSL mode for the PostgreSQL connection (disable, allow, prefer, require, verify-ca, verify-full)
Type:
null or string
Default: Unspecified
services.nix-ci.production.loopers.config.database.postgresql.session.sslrootcert
Path to the root SSL certificate for server verification
Type:
null or string
Default: Unspecified
services.nix-ci.production.loopers.config.database.postgresql.session.user
The user to connect to PostgreSQL as
Type:
null or string
Default: Unspecified, interpreted as "nix-ci-leader"
services.nix-ci.production.loopers.config.database.postgresql.sslcert
Path to the client SSL certificate
Type:
null or string
Default: Unspecified
services.nix-ci.production.loopers.config.database.postgresql.sslkey
Path to the client SSL private key
Type:
null or string
Default: Unspecified
services.nix-ci.production.loopers.config.database.postgresql.sslmode
The SSL mode for the PostgreSQL connection (disable, allow, prefer, require, verify-ca, verify-full)
Type:
null or string
Default: Unspecified
services.nix-ci.production.loopers.config.database.postgresql.sslrootcert
Path to the root SSL certificate for server verification
Type:
null or string
Default: Unspecified
services.nix-ci.production.loopers.config.database.postgresql.statement-timeout
How long a statement on this process's pools may run before PostgreSQL cancels it. Not applied to the sessions that hold a looper's lock, whose garbage collection sweeps may run long. Too short fails requests whose queries are merely slow, which restarts the workers whose poll fails; too long lets a stuck statement hold its connection and its locks. A duration, or off. Must be off when a transaction pooler is configured.
Type:
null or string or signed integer or value "off" (singular enum)
Default: Unspecified, interpreted as "30s"
services.nix-ci.production.loopers.config.database.postgresql.transaction
This option has no description.
Type:
submodule
services.nix-ci.production.loopers.config.database.postgresql.transaction.database
The database name to connect to PostgreSQL with
Type:
null or string
Default: Unspecified, interpreted as "nix-ci-leader"
services.nix-ci.production.loopers.config.database.postgresql.transaction.host
The host of the PostgreSQL server
Type:
null or string
Default: Unspecified
services.nix-ci.production.loopers.config.database.postgresql.transaction.password
The password to connect to PostgreSQL with
Type:
null or string
Default: Unspecified
services.nix-ci.production.loopers.config.database.postgresql.transaction.password-file
The password to connect to PostgreSQL with
Type:
null or string
Default: Unspecified
services.nix-ci.production.loopers.config.database.postgresql.transaction.port
The port of the PostgreSQL server
Type:
null or 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default: Unspecified, interpreted as 5432
services.nix-ci.production.loopers.config.database.postgresql.transaction.sslcert
Path to the client SSL certificate
Type:
null or string
Default: Unspecified
services.nix-ci.production.loopers.config.database.postgresql.transaction.sslkey
Path to the client SSL private key
Type:
null or string
Default: Unspecified
services.nix-ci.production.loopers.config.database.postgresql.transaction.sslmode
The SSL mode for the PostgreSQL connection (disable, allow, prefer, require, verify-ca, verify-full)
Type:
null or string
Default: Unspecified
services.nix-ci.production.loopers.config.database.postgresql.transaction.sslrootcert
Path to the root SSL certificate for server verification
Type:
null or string
Default: Unspecified
services.nix-ci.production.loopers.config.database.postgresql.transaction.user
The user to connect to PostgreSQL as
Type:
null or string
Default: Unspecified, interpreted as "nix-ci-leader"
services.nix-ci.production.loopers.config.database.postgresql.user
The user to connect to PostgreSQL as
Type:
null or string
Default: Unspecified, interpreted as "nix-ci-leader"
services.nix-ci.production.loopers.config.github-installation-access-token-refresher
This option has no description.
Type:
submodule
services.nix-ci.production.loopers.config.github-installation-access-token-refresher.enable
enable the github-installation-access-token-refresher looper
Type:
null or boolean
Default: Unspecified
services.nix-ci.production.loopers.config.github-installation-access-token-refresher.period
period of the github-installation-access-token-refresher looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 120
services.nix-ci.production.loopers.config.github-installation-access-token-refresher.phase
phase of the github-installation-access-token-refresher looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 0
services.nix-ci.production.loopers.config.github-installation-repositories-refresher
This option has no description.
Type:
submodule
services.nix-ci.production.loopers.config.github-installation-repositories-refresher.enable
enable the github-installation-repositories-refresher looper
Type:
null or boolean
Default: Unspecified
services.nix-ci.production.loopers.config.github-installation-repositories-refresher.period
period of the github-installation-repositories-refresher looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 86400
services.nix-ci.production.loopers.config.github-installation-repositories-refresher.phase
phase of the github-installation-repositories-refresher looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 300
services.nix-ci.production.loopers.config.github-user-access-token-refresher
This option has no description.
Type:
submodule
services.nix-ci.production.loopers.config.github-user-access-token-refresher.enable
enable the github-user-access-token-refresher looper
Type:
null or boolean
Default: Unspecified
services.nix-ci.production.loopers.config.github-user-access-token-refresher.period
period of the github-user-access-token-refresher looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 960
services.nix-ci.production.loopers.config.github-user-access-token-refresher.phase
phase of the github-user-access-token-refresher looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 0
services.nix-ci.production.loopers.config.github-webhook-garbage-collector
This option has no description.
Type:
submodule
services.nix-ci.production.loopers.config.github-webhook-garbage-collector.enable
enable the github-webhook-garbage-collector looper
Type:
null or boolean
Default: Unspecified
services.nix-ci.production.loopers.config.github-webhook-garbage-collector.period
period of the github-webhook-garbage-collector looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 86400
services.nix-ci.production.loopers.config.github-webhook-garbage-collector.phase
phase of the github-webhook-garbage-collector looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 60
services.nix-ci.production.loopers.config.gitlab-repo-access-token-refresher
This option has no description.
Type:
submodule
services.nix-ci.production.loopers.config.gitlab-repo-access-token-refresher.enable
enable the gitlab-repo-access-token-refresher looper
Type:
null or boolean
Default: Unspecified
services.nix-ci.production.loopers.config.gitlab-repo-access-token-refresher.period
period of the gitlab-repo-access-token-refresher looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 3600
services.nix-ci.production.loopers.config.gitlab-repo-access-token-refresher.phase
phase of the gitlab-repo-access-token-refresher looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 0
services.nix-ci.production.loopers.config.gitlab-user-access-token-refresher
This option has no description.
Type:
submodule
services.nix-ci.production.loopers.config.gitlab-user-access-token-refresher.enable
enable the gitlab-user-access-token-refresher looper
Type:
null or boolean
Default: Unspecified
services.nix-ci.production.loopers.config.gitlab-user-access-token-refresher.period
period of the gitlab-user-access-token-refresher looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 120
services.nix-ci.production.loopers.config.gitlab-user-access-token-refresher.phase
phase of the gitlab-user-access-token-refresher looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 0
services.nix-ci.production.loopers.config.gitlab-webhook-garbage-collector
This option has no description.
Type:
submodule
services.nix-ci.production.loopers.config.gitlab-webhook-garbage-collector.enable
enable the gitlab-webhook-garbage-collector looper
Type:
null or boolean
Default: Unspecified
services.nix-ci.production.loopers.config.gitlab-webhook-garbage-collector.period
period of the gitlab-webhook-garbage-collector looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 86400
services.nix-ci.production.loopers.config.gitlab-webhook-garbage-collector.phase
phase of the gitlab-webhook-garbage-collector looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 60
services.nix-ci.production.loopers.config.license
This option has no description.
Type:
submodule
services.nix-ci.production.loopers.config.license.enable
enable the license looper
Type:
null or boolean
Default: Unspecified
services.nix-ci.production.loopers.config.license.period
period of the license looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 86400
services.nix-ci.production.loopers.config.license.phase
phase of the license looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 60
services.nix-ci.production.loopers.config.license-garbage-collector
This option has no description.
Type:
submodule
services.nix-ci.production.loopers.config.license-garbage-collector.enable
enable the license-garbage-collector looper
Type:
null or boolean
Default: Unspecified
services.nix-ci.production.loopers.config.license-garbage-collector.period
period of the license-garbage-collector looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 86400
services.nix-ci.production.loopers.config.license-garbage-collector.phase
phase of the license-garbage-collector looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 60
services.nix-ci.production.loopers.config.log-level
Minimal severity of log messages
Type:
null or one of "Debug", "Info", "Warn", "Error"
Default: Unspecified, interpreted as "Info"
services.nix-ci.production.loopers.config.logs-garbage-collector
This option has no description.
Type:
submodule
services.nix-ci.production.loopers.config.logs-garbage-collector.enable
enable the logs-garbage-collector looper
Type:
null or boolean
Default: Unspecified
services.nix-ci.production.loopers.config.logs-garbage-collector.period
period of the logs-garbage-collector looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 86400
services.nix-ci.production.loopers.config.logs-garbage-collector.phase
phase of the logs-garbage-collector looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 60
services.nix-ci.production.loopers.config.metrics-port
The port to serve metrics on, at /metrics. Every installation on a machine needs a port of its own.
Type:
null or 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default: Unspecified, interpreted as 8010
services.nix-ci.production.loopers.config.run-ready-fixer
This option has no description.
Type:
submodule
services.nix-ci.production.loopers.config.run-ready-fixer.enable
enable the run-ready-fixer looper
Type:
null or boolean
Default: Unspecified
services.nix-ci.production.loopers.config.run-ready-fixer.period
period of the run-ready-fixer looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 3600
services.nix-ci.production.loopers.config.run-ready-fixer.phase
phase of the run-ready-fixer looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 60
services.nix-ci.production.loopers.config.stripe-usage-reporter
This option has no description.
Type:
submodule
services.nix-ci.production.loopers.config.stripe-usage-reporter.enable
enable the stripe-usage-reporter looper
Type:
null or boolean
Default: Unspecified
services.nix-ci.production.loopers.config.stripe-usage-reporter.period
period of the stripe-usage-reporter looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 3600
services.nix-ci.production.loopers.config.stripe-usage-reporter.phase
phase of the stripe-usage-reporter looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 60
services.nix-ci.production.loopers.config.stripe-webhook-garbage-collector
This option has no description.
Type:
submodule
services.nix-ci.production.loopers.config.stripe-webhook-garbage-collector.enable
enable the stripe-webhook-garbage-collector looper
Type:
null or boolean
Default: Unspecified
services.nix-ci.production.loopers.config.stripe-webhook-garbage-collector.period
period of the stripe-webhook-garbage-collector looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 86400
services.nix-ci.production.loopers.config.stripe-webhook-garbage-collector.phase
phase of the stripe-webhook-garbage-collector looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 60
services.nix-ci.production.loopers.config.suite-garbage-collector
This option has no description.
Type:
submodule
services.nix-ci.production.loopers.config.suite-garbage-collector.enable
enable the suite-garbage-collector looper
Type:
null or boolean
Default: Unspecified
services.nix-ci.production.loopers.config.suite-garbage-collector.period
period of the suite-garbage-collector looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 86400
services.nix-ci.production.loopers.config.suite-garbage-collector.phase
phase of the suite-garbage-collector looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 60
services.nix-ci.production.loopers.config.version
The version tag to report: Use a git commit hash if you can!
Type:
null or string
Default: Unspecified
services.nix-ci.production.loopers.config.watchdog-notifier
This option has no description.
Type:
submodule
services.nix-ci.production.loopers.config.watchdog-notifier.enable
enable the watchdog-notifier looper
Type:
null or boolean
Default: Unspecified
services.nix-ci.production.loopers.config.watchdog-notifier.period
period of the watchdog-notifier looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 30
services.nix-ci.production.loopers.config.watchdog-notifier.phase
phase of the watchdog-notifier looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 0
services.nix-ci.production.loopers.config.worker-garbage-collector
This option has no description.
Type:
submodule
services.nix-ci.production.loopers.config.worker-garbage-collector.enable
enable the worker-garbage-collector looper
Type:
null or boolean
Default: Unspecified
services.nix-ci.production.loopers.config.worker-garbage-collector.period
period of the worker-garbage-collector looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 86400
services.nix-ci.production.loopers.config.worker-garbage-collector.phase
phase of the worker-garbage-collector looper in seconds
Type:
null or signed integer or floating point number
Default: Unspecified, interpreted as 60
services.nix-ci.production.loopers.config.workers
The workers that are allowed to register, and the jobs each of them may take. The jobs a worker may take also decide whose runs its time is billed to and which queue the autoscale tick is told about. Required, with [] for none.
Type:
null or (list of (submodule))
Default: Unspecified
services.nix-ci.production.loopers.config.workers.*.allowed
The jobs this worker may take. Every job for the architecture of the machine that reads this, unless it is set.
Type:
null or (submodule) or list of (submodule)
Default: Unspecified
services.nix-ci.production.loopers.config.workers.*.name
This option has no description.
Type:
string
Required in every item of services.nix-ci.production.loopers.config.workers
services.nix-ci.production.loopers.config.workers.*.public-key
The worker's public key. Either this or public-key-file is required.
Type:
null or string
Default: Unspecified
services.nix-ci.production.loopers.config.workers.*.public-key-file
A file with the worker's public key, read by the leader alone.
Type:
null or string
Default: Unspecified
services.nix-ci.production.loopers.enable
Enable the NixCI loopers, as a process of their own. A leader runs none of its own, so every installation needs this somewhere. They use the leader's database, and expect the leader to have migrated it.
Type:
boolean
Default:
false
Example:
true
services.nix-ci.production.loopers.enableSettingsCheck
Enable a static settings check. Turn this off if your system has secrets that are provisioned at runtime.
Type:
boolean
Default:
true
services.nix-ci.production.loopers.extraConfig
The contents of the config file, as an attribute set. This will be translated to Yaml and put in the right place along with the rest of the options defined in this submodule.
Type:
unspecified value
Default:
{ }
services.nix-ci.production.loopers.hosts
The hosts to serve the metrics on through nginx, with a certificate from ACME, for a Prometheus on another machine to scrape. The first is the virtual host and the rest are its aliases. None serves them on the metrics port only.
Type:
list of string
Default:
[ ]
Example:
[
"loopers.nix-ci.com"
]
services.nix-ci.production.loopers.openFirewall
Whether to open the metrics port in the firewall
Type:
boolean
Default:
false