The nixos-generate-config command mentioned in the manual fails with error:
nixos-generate-config: no need to specify `/` with `--root`, it is the default
This was introduced in 611b8c4472db0bde066b97960ccfe4671ffb89fb
(#161034). Now, the command should be called without any arguments.