programs.gemini-cli.context
Home-Manager option
An attribute set of context files to create in ~/.gemini/. The attribute name becomes the filename with .md extension automatically added. The value is either inline content or a path to a file. Note: You can customize which context file names gemini-cli looks for by setting settings.context.fileName. For example:
type: attribute set of (strings concatenated with “\n” or absolute path)Default
{ }Example
declared in: <home-manager/modules/programs/gemini-cli.nix>source unavailable{ GEMINI = '' # Global Context You are a helpful AI assistant for software development. ## Coding Standards - Follow consistent code style - Write clear comments - Test your changes ''; AGENTS = ./path/to/agents.md; CONTEXT = '' Additional context instructions here. ''; }