#compdef nix-collect-garbage
#autoload
_nix-common-options
_arguments \
'(--delete-old -d)'{--delete-old,-d}'[Delete all old generations of all profiles]'\
'--delete-older-than[Delete generations older than the given time]:Time such as 30d:( )'\
$_nix_dry_run \