Skip to content

Sonic server

services.sonic-server.enable

Whether to enable Sonic Search Index. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/search/sonic-server.nix

services.sonic-server.package

The sonic-server package to use. Type: package

Default

pkgs.sonic-server

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/search/sonic-server.nix

services.sonic-server.settings

Sonic Server configuration options.

Refer to https://github.com/valeriansaliou/sonic/blob/master/CONFIGURATION.md for a full list of available options.

Type: TOML value

Default

{store = {fst = {path = "/var/lib/sonic/fst";};kv = {path = "/var/lib/sonic/kv";};};}

Example

{channel = {inet = "[::1]:1491";};server = {log_level = "debug";};}

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/search/sonic-server.nix