Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Workspace (aves.toml)

aves.toml is the workspace-wide configuration. Every package built in the workspace sees the same aves.toml; project-specific concerns belong in aves_manifest.toml instead.

Example

[nixpkgs]
channel = "nixos-25.05"
rev     = "<lock-hash>"

[policy]
allow_unfree   = true
allow_insecure = true

[nix-portable]
runtime = "proot"

Sections

[nixpkgs]

Pins the nixpkgs revision used to evaluate every package’s [build] inputs. Pinning is what makes builds reproducible across machines and across time.

KeyTypeRequiredDescription
channelstringyesNixpkgs channel name, e.g. "nixos-25.05".
revstringnoSpecific commit hash. Required for full lock.

[policy]

Workspace-wide gates for permissive build flags. Each gate is checked when a package’s [build] requests the matching flag.

KeyTypeDefaultDescription
allow_unfreeboolfalsePermit packages whose inputs include unfree licenses.
allow_insecureboolfalsePermit packages whose inputs include insecure-marked deps.

[nix-portable]

Configures the nix-portable backend.

KeyTypeDefaultDescription
runtimestring(auto)One of proot, bwrap. Pins the sandbox runtime.