services.local-ai.enable
Whether to enable LocalAI is the free, Open Source OpenAI alternative…
Type: boolean
Default:
false
Example:
true
Declared by:
services.local-ai.package
The local-ai package to use.
Type: package
Default:
pkgs.local-ai
Declared by:
services.local-ai.environment
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 by: