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 string
Default
[ ]
Example
[
  "/mnt/extra-roots"
]
declared in: nixos/modules/services/networking/harmonia.nixView source on NixOS/nixpkgs →