Versions in this module Expand all Collapse all v0 v0.10.0 Oct 19, 2026 v0.0.0 Oct 16, 2026 Changes in this version + const DefaultNixImage + const DefaultRegistry + const DefaultSchemaVersion + const DefaultTartOCIImage + const LLMProviderDefault + const LLMProviderLMStudio + const LLMProviderOllama + const LLMProviderOpenRouter + const SchemaBase + var Deprecations = []Deprecation + var EmbeddedSchema []byte + var ErrReadOnly = errors.New("file is read-only") + var Presets = map[string][]string + func ApplyEnv(c *CellConfig, getenv func(string) string) + func CatalogURLFor(version string) string + func ConfigDrift(old, new CellConfig) string + func ConfigHash(c CellConfig) string + func ExpandPresets(names []string) ([]string, error) + func FieldComments(src []byte) (map[string]string, error) + func Getenv(name string) string + func HMOptionsNix() string + func JSONSchema(opts SchemaOptions) ([]byte, error) + func NetworkProxyEnabled(c CellConfig) bool + func QualifyImage(ref string) string + func SchemaURLFor(version string) string + func ValidateDefaultCommand(cmd string) error + func ValidateModulesAgainstCatalog(userModules, catalogNames []string) error + func ValidateNetworkProxy(c CellConfig) error + func ValidateNixPackageNames(np NixPackages) error + func ValidateNixPackages(np NixPackages) error + func ValidateStack(stack string) error + func ValidateWireguard(c CellConfig) error + func WireguardEnabled(c CellConfig) bool + type AwsSection struct + ReadOnly *bool + func (a AwsSection) ResolvedReadOnly() bool + type BuildSection struct + CPUs string + Cores int + MaxJobs int + Memory string + Threads int + type CellConfig struct + Aws AwsSection + Build BuildSection + Cell CellSection + DeprecatedUses []DeprecatedUse + Docker DockerSection + Env map[string]string + GUI GUISection + Git GitSection + LLM LLMSection + Mcp McpSection + Mise map[string]string + Network NetworkSection + Nix NixSection + Op OpSection + Packages PackagesSection + Ports PortsSection + Secrets SecretsSection + Stealth StealthSection + Theme ThemeSection + Volumes []VolumeMount + Wireguard []WireguardEntry + func LoadFile(path string) (CellConfig, error) + func LoadFromOS(configDir, cwd string) CellConfig + func LoadFromOSWithDirs(configDir, cwd string) (CellConfig, error) + func LoadLayered(globalPath string, getenv func(string) string, projectPaths ...string) (CellConfig, error) + func Merge(global, project CellConfig) CellConfig + type CellSection struct + Background *bool + DefaultCommand string + DockerSocket *bool + Engine string + Experimental StringList + Flake *bool + GUI *bool + Hostname string + ImageTag string + KVM *bool + LibvirtPathMap map[string]string + LibvirtURI string + Locale string + MacAddress string + Mcps []string + Modules []string + NixhomePath string + OS string + Packages []string + PerCellImage *bool + Ports []string + QemuCPUs int + QemuDiskSizeGB int + QemuDisplay string + QemuMemoryGB int + QemuProjectSync string + QemuSSHHost string + QemuSSHPort int + QemuWindowsISO string + Registry string + Stack string + StaleWarning *bool + TartOCIImage string + TartSSHHost string + TartSSHKey string + TartSSHPort int + TartSSHUser string + Thin *bool + Timezone string + VagrantBox string + VagrantProvider string + Volumes []string + WinkitCPUs int + WinkitMemoryGB int + WinkitSSHPort int + WinkitWindowsISO string + func (c CellSection) DescribeModulesSource() string + func (c CellSection) FlakeEnabled() bool + func (c CellSection) KVMExplicitlyDisabled() bool + func (c CellSection) ResolvedBackground() bool + func (c CellSection) ResolvedDefaultCommand() string + func (c CellSection) ResolvedDockerSocket() bool + func (c CellSection) ResolvedExperimental() []string + func (c CellSection) ResolvedGUI() bool + func (c CellSection) ResolvedHostname(computed string) string + func (c CellSection) ResolvedKVM() bool + func (c CellSection) ResolvedPerCellImage() bool + func (c CellSection) ResolvedRegistry() string + func (c CellSection) ResolvedStack() string + func (c CellSection) ResolvedTartOCIImage() string + func (c CellSection) ResolvedTartSSHHost() string + func (c CellSection) ResolvedTartSSHKey() string + func (c CellSection) ResolvedTartSSHPort() int + func (c CellSection) ResolvedTartSSHUser() string + func (c CellSection) ResolvedThin() bool + func (c CellSection) ResolvedWinkitCPUs() int + func (c CellSection) ResolvedWinkitMemoryGB() int + func (c CellSection) ResolvedWinkitSSHPort() int + func (c CellSection) ResolvedWinkitWindowsISO() string + func (c CellSection) StackExplicit() bool + func (c CellSection) StaleWarningEnabled() bool + type DeprecatedUse struct + File string + func (u DeprecatedUse) Warning() string + type Deprecation struct + Message string + Name string + Path []string + Replacement string + type DockerPolicy interface + DeniedCaps func() map[string]bool + DeniedMountPaths func() []string + DenyDockerSock func() bool + DenyInheritEnv func() bool + DenyKVM func() bool + DenyOpRun func() bool + DenyPrivileged func() bool + DenyTUN func() bool + DenyUserVolumes func() bool + DenyWireguard func() bool + DropAllCaps func() bool + SafeCaps func() []string + type DockerSection struct + CPULimit string + CapAdd []string + MemLimit string + Privileged bool + ShmSize string + func (d DockerSection) ResolvedCPULimit() string + func (d DockerSection) ResolvedMemLimit() string + func (d DockerSection) ResolvedShmSize() string + type GUISection struct + Enabled *bool + Resolution string + Scale int + WM string + func (g GUISection) ResolvedDPI() int + func (g GUISection) ResolvedEnabled() bool + func (g GUISection) ResolvedFramebufferResolution() string + func (g GUISection) ResolvedResolution() string + func (g GUISection) ResolvedScale() int + func (g GUISection) ResolvedWM() string + type GitSection struct + AuthorEmail string + AuthorName string + CommitterEmail string + CommitterName string + func (g GitSection) HasIdentity() bool + func (g GitSection) ResolvedCommitterEmail() string + func (g GitSection) ResolvedCommitterName() string + type LLMModelsSection struct + Default string + Providers map[string]LLMProvider + type LLMProvider struct + BaseURL string + Models []string + type LLMSection struct + AppendSystemPrompt string + AppendSystemPromptFile string + Model string + Models LLMModelsSection + Provider string + Providers map[string]LLMProvider + SystemPrompt string + SystemPromptFile string + UseOllama bool + UseOpenRouter bool + func (l LLMSection) ActiveProvider() string + func (l LLMSection) ModelFor(provider string) string + type McpSection struct + Enabled []string + type MigrationChange struct + Action string + Key string + type MigrationResult struct + After string + Before string + Changes []MigrationChange + func MigrateFile(path string, write bool) (MigrationResult, string, error) + func MigrateTOML(src string) (MigrationResult, error) + type MissingEnvError struct + Refs map[string][]string + func ExpandEnv(env map[string]string, lookup func(string) (string, bool), ...) *MissingEnvError + func (e *MissingEnvError) Error() string + type NetworkProxySection struct + Allow []string + AllowHostNetwork *bool + Block []string + Enabled *bool + Image string + Log *bool + Mode string + Presets []string + func (p NetworkProxySection) ResolvedAllowHostNetwork() bool + func (p NetworkProxySection) ResolvedEnabled() bool + func (p NetworkProxySection) ResolvedImage() string + func (p NetworkProxySection) ResolvedLog() bool + func (p NetworkProxySection) ResolvedMode() string + type NetworkSection struct + Proxy NetworkProxySection + type NixPackages struct + Edge []string + Stable []string + Unstable []string + func ResolveNixChannels(np NixPackages) (resolved NixPackages, overrides []string) + type NixSection struct + Image string + NixhomePath string + func (n NixSection) ResolvedImage() string + type OnePasswordSecrets struct + Documents []string + type OpSection struct + Documents []string + Items []string + func (o OpSection) ResolvedDocuments() []string + type PackagesSection struct + Nix NixPackages + Node map[string]string + Npm map[string]string + Python map[string]string + func (p PackagesSection) MiseTools() string + type Policy interface + DefaultPresets func() []string + DenyDirectInternet func() bool + DenyHostAccess func() bool + DenyPorts func() bool + ForceProxy func() bool + Label func() string + func OpenPolicy() Policy + func SolitaryPolicy() Policy + type PortsSection struct + Forward []string + PublishIP string + func (p PortsSection) ResolvedPublishIP() string + type ReadOnlySymlinkError struct + Link string + Path string + Target string + func (e *ReadOnlySymlinkError) Error() string + func (e *ReadOnlySymlinkError) HomeManaged() bool + func (e *ReadOnlySymlinkError) Unwrap() error + type SchemaOptions struct + Descriptions map[string]string + Modules []string + Stacks []string + Version string + func (o *SchemaOptions) LoadCatalog(dir string) error + type SecretsSection struct + OnePassword OnePasswordSecrets + Op OnePasswordSecrets + type StealthSection struct + Arch string + Platform string + func (s StealthSection) ResolvedArch() string + func (s StealthSection) ResolvedPlatform() string + func (s StealthSection) ResolvedUserAgent() string + type StringList []string + func (l *StringList) UnmarshalTOML(v any) error + type ThemeSection struct + Accent string + BarBG string + BarFG string + CellBG string + CellFG string + Name string + Separator string + StatusBG string + StatusFG string + WorkspaceBG string + WorkspaceFG string + type VMPolicy interface + IsolatedVNet func() bool + PublishProxyPort func() bool + RestrictNetwork func() bool + type VolumeMount struct + Mount string + func (v VolumeMount) ContainerPath() string + func (v VolumeMount) Resolved() string + type WireguardEntry struct + Config string + Enabled bool + Name string