Devbox Config
Configuration for a Devbox shell environment
| Type | object |
|---|---|
| File match |
devbox.json
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/devbox-config/latest.json |
| Source | https://raw.githubusercontent.com/jetify-com/devbox/main/.schema/devbox.schema.json |
Validate with Lintel
npx @lintel/lintel check
Type:
object
Defines fields and acceptable values of devbox.json
Properties
$schema
string
The schema version of this devbox.json file.
name
string
The name of the Devbox development environment.
description
string
A description of the Devbox development environment.
packages
string[] | object
Collection of packages to install
env
object
List of additional environment variables to be set in the Devbox environment. Values containing $PATH or $PWD will be expanded. No other variable expansion or command substitution will occur.
shell
object
Definitions of scripts and actions to take when in devbox shell.
2 nested properties
init_hook
array | string
scripts
object
List of command/script definitions to run with devbox run <script_name>.
include
string[]
List of additional plugins to activate within your devbox shell
env_from
string
nixpkgs
object
1 nested properties
commit
string
The commit hash of the nixpkgs repository to use