Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Packages is the slice of Nix packages that devbox makes available in // its environment. Deliberately do not omitempty. Packages []string `json:"packages"` // Env allows specifying env variables Env map[string]string `json:"env,omitempty"` // Shell configures the devbox shell environment. Shell struct { // InitHook contains commands that will run at shell startup. InitHook []string `json:"init_hook,omitempty"` Scripts map[string][]string `json:"scripts,omitempty"` } `json:"shell,omitempty"` // Nixpkgs specifies the repository to pull packages from Nixpkgs NixpkgsConfig `json:"nixpkgs,omitempty"` }
Config defines a devbox environment as JSON.
type NixpkgsConfig ¶
type NixpkgsConfig struct {
Commit string `json:"commit,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.