plugins.lsp.servers.nil-ls.settings.nix.binary

The path to the nix binary.

Plugin default: "nix"

Type: null or string or raw lua code

Default: null

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.

Plugin default: 2560

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

Default: null

Example: 1024

Declared by: