programs.opencode.web.environmentFile

Home-Manager option

null or absolute path

Path to a file containing environment variables for the opencode web service, in the format of an EnvironmentFile as described by systemd.exec(5) (i.e. KEY=VALUE pairs, one per line). This is the recommended way to set OPENCODE_SERVER_PASSWORD without exposing the secret value in the Nix store.

type: null or absolute path
Default
null
Example
"/run/secrets/opencode-web"
declared in: <home-manager/modules/programs/opencode.nix>source unavailable