MyNixOS website logo
option

services.harmonia.gc.gcRootsDirs

Extra directories to scan for GC roots, treated like the standard gcroots directory. Nix only scans its own state directories; this keeps roots that live elsewhere from being collected.

Declarations
Type
list of string
Default
[ ]
Example
[
  "/mnt/extra-roots"
]