MyNixOS website logo

Options given to nh clean when the service is run automatically.

A list is preferred, each element being one argument.

A string keeps its platform-specific meaning: on Linux it is command line text that systemd splits into arguments, on Darwin it is passed to nh as a single argument.

See nh clean all --help for more information.

Declarations
Type
(optionally newline-terminated) single-line string or list of string
Default
""
Example
[
  "--keep"
  "5"
  "--keep-since"
  "3d"
]