services.local-ai.environment

Home-Manager option

attribute set of string

Additional environment variables for the local-ai service. These variables are written to the world-readable Nix store as Environment= lines in the systemd unit, so avoid putting secrets such as LOCALAI_API_KEY here. You can set systemd.user.services.local-ai.Service.EnvironmentFile to a file outside the store instead. See <https://localai.io/docs/reference/cli-reference/> for available options.

type: attribute set of string
Default
{ }
declared in: <home-manager/modules/services/local-ai.nix>source unavailable