plugins.lsp.servers.nil_ls.settings.nix.binary

The path to the nix binary.

Type: null or string or raw lua code

Default: null

Plugin default: "nix"

Example: "/run/current-system/sw/bin/nix"

Declared by:

plugins.lsp.servers.nil_ls.settings.nix.maxMemoryMB

The heap memory limit in MiB for nix evaluation.

Currently it only applies to flake evaluation when autoEvalInputs is enabled, and only works for Linux. Other nix invocations may be also applied in the future. null means no limit.

As a reference, nix flake show --legacy nixpkgs usually requires about 2GiB memory.

Type: null or unsigned integer, meaning >=0, or raw lua code

Default: null

Plugin default: 2560

Example: 1024

Declared by: