services.harmonia.gc.gcRootsDirs
NixOS option
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.
type: list of stringDefault
[ ]
Example
declared in: nixos/modules/services/networking/harmonia.nixView source on NixOS/nixpkgs →[ "/mnt/extra-roots" ]