$> nixos-generate -f vmware -c config.nix
error: getting status of '/var/src/nixpkgs/nixos/modules/virtualisation/vmware-image.nix': No such file or directory
copy vmware-guest.nix to vmware-image.nix I get this error :
$> nixos-generate -f vmware -c config.nix
error: attribute 'vmwareImage' in selection path 'config.system.build.vmwareImage' not found
It depends on 2f943ebc2501437e973f7c1ee193d02dfeea311d in nixpkgs, Date: Fri May 22 04:03:46 2020 -0400
Is it possible that you are using nixos-20.03 or older?
running
copy
vmware-guest.nix
tovmware-image.nix
I get this error :