Nix-darwin lacks option "programs.zsh.enableAutosuggestions"

Newbie trying to set up zsh on nix-darwin.

# ~/.nixpkgs/darwin-configuration.nix

{ config, lib, pkgs, ... }:
{
  environment.systemPackages = [ pkgs.zsh-autosuggestions ];
  services.nix-daemon.enable = true;
  programs.zsh.enable = true;
  # programs.zsh.enableAutosuggestions = true;
  # programs.zsh.autosuggestions.enable = true;
  system.stateVersion = 4;
}

The option programs.zsh.autosuggestions.enable is in the official doc, and programs.zsh.enableAutosuggestions should also work.

But neither works on my Monetery:

$ darwin-rebuild switch
building the system configuration...
error: The option `programs.zsh.autosuggestions' does not exist. Definition values:
       - In `/Users/me/.nixpkgs/darwin-configuration.nix':
           {
             enable = true;
           }
(use '--show-trace' to show detailed location information)

$ darwin-option programs.zsh
enable
enableBashCompletion
enableCompletion
enableFzfCompletion
enableFzfGit
enableFzfHistory
enableSyntaxHighlighting
interactiveShellInit
loginShellInit
promptInit
shellInit
variables

Any help is appreciated.

Those links are all about nixos options, not nix-darwin options.

I’m confused. The package pkgs.zsh-autosuggestions provides the option programs.zsh.autosuggesetions.enable, and nix-darwin successfully installed pkgs.zsh-autosuggestions with darwin-rebuild switch, therefore nix-darwin should be configurable with programs.zsh.autosuggesetions.enable, shouldn’t it?

Packages do not provide options. Ever. Modules provide options, and they are specific to the system they correspond to (nixos, home-manager, nix-darwin, etc). Modules also generally install the related packages, rather than the other way around.