Skip to main content

Configuration

The iglu builder configuration is written in TOML. This is what the different parameters actually do:

Values​

[builder]​

KeyValuesDefaultDescription
work_dir<path>/tmp/iglu_builderPath where are the jobs get executed
allowed_commands<list<strings>>["nix", "nix-build"]Defines which commands can be executed by a build job

[builder.cache]​

This section is completely optional. If this is set every job without a provided cache config will use this config. If a config is provided by the job it will override this one here.

KeyValuesDefaultDescription
signing_key<string>``The signingkey which is used to sign every derivation
url<string>``Url of the cachix compatible cache
auth_token<string>``The authtoken of the cachix compatible cache

[server]​

KeyValuesDefaultDescription
dev_mode<bool>falseIf true the webserver refreshes after file change
port<int>8000The port on which the server is listening
host<string>0.0.0.0The host on which the server is listening

Example config​

[builder]
work_dir = "/tmp/iglu_builder"
allowed_commands = ["nix", "nix-build"]

[server]
port = 8000
host = "localhost"
dev_mode = true