This project aims to provide a highly complete set of ZSH completions for Nix, NixOS, NixOps, and the surrounding ecosystem.
NixOS
Setting programs.zsh.enable = true in /etc/nixos/configuration.nix will automatically install and enable nix-zsh-compeletions.