nix.gc.dates

NixOS option

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 in: nixos/modules/services/misc/nix-gc.nixView source on NixOS/nixpkgs →