nix.gc.dates

How often or when garbage collection is performed. For most desktop and server systems a sufficient garbage collection is once a week.

This value must be a calendar event in the format specified by systemd.time(7).

Type
(optionally newline-terminated) single-line string or list of string
Default
[
  "03:15"
]
Example
"weekly"
Declared
<nixpkgs/nixos/modules/services/misc/nix-gc.nix>