diff --git a/_nixos-version b/_nixos-version index ece1b08..a193606 100644 --- a/_nixos-version +++ b/_nixos-version @@ -4,4 +4,6 @@ _nix-common-options _arguments \ - '(- *)'{--hash,--revision}'[Print only the git hash of the channel]'\ + '(- *)'{--hash,--revision}'[Show the full SHA1 hash of the Git commit from which this configuration was built.]'\ + '--configuration-revision[Show the configuration revision if available.]'\ + '--json[Print a JSON representation of the versions of NixOS and the top-level configuration flake.]'