nix show-config was renamed to nix config show, and nix doctor was renamed to nix config check, to be more consistent with the rest of the command-line interface.
nix show-config
nix config show
nix doctor
nix config check