Help Needed Creating Custom Virtualbox/ova images

We install a standard image off NixOS. We then use the following command from https://github.com/nix-community/nixos-generators to generate a virtualbox image.

nixos-generate -f virtualbox -c /etc/nixos/configuration.nix

We receive an error that is associated with our /etc/fstab/ and /etc/nixos/hardware-configuration.nix files, where drive partitions are named using /dev/disk/by-uuid/, however the command above expects those files to be /dev/disk/by-label/.
We manually changed the fstab and hardware-configuration.nix files to use /by-label/ and ran our command again, which resulted in a new error

setting up /etc...
/etc/tmpfiles.d/journal-nocow.conf:26: Failed to resolve specifier: uninitialized /etc detected, skipping
All rules containing unresolvable specifiers will be skipped.
Initializing machine ID from random generator.
Failed to check file system type of "/boot": No such file or directory
Traceback (most recent call last):
  File "/nix/store/61hy86jlw4isvy2na5fbby3k6k4r17gb-systemd-boot", line 317, in <module>
    main()
  File "/nix/store/61hy86jlw4isvy2na5fbby3k6k4r17gb-systemd-boot", line 243, in main
    subprocess.check_call(["/nix/store/sj364k7lsr47i87f7iv835lvvn7g4fqm-systemd-250.4/bin/bootctl", "--path=/boot"] + flags + ["install"])
  File "/nix/store/pn7863n7s2p66b0gazcylm6cccdwpzaf-python3-3.9.13/lib/python3.9/subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/nix/store/sj364k7lsr47i87f7iv835lvvn7g4fqm-systemd-250.4/bin/bootctl', '--path=/boot', 'install']' returned non-zero exit status 1.
[    1.765057] reboot: Power down
error: builder for '/nix/store/1smqpppk1jk491yqx2chz4s6cdgbdrwv-nixos-ova-22.05.2676.b9fd420fa53-x86_64-linux.drv' failed with exit code 1;
       last 10 log lines:
       > Failed to check file system type of "/boot": No such file or directory
       > Traceback (most recent call last):
       >   File "/nix/store/61hy86jlw4isvy2na5fbby3k6k4r17gb-systemd-boot", line 317, in <module>
       >     main()
       >   File "/nix/store/61hy86jlw4isvy2na5fbby3k6k4r17gb-systemd-boot", line 243, in main
       >     subprocess.check_call(["/nix/store/sj364k7lsr47i87f7iv835lvvn7g4fqm-systemd-250.4/bin/bootctl", "--path=/boot"] + flags + ["install"])
       >   File "/nix/store/pn7863n7s2p66b0gazcylm6cccdwpzaf-python3-3.9.13/lib/python3.9/subprocess.py", line 373, in check_call
       >     raise CalledProcessError(retcode, cmd)
       > subprocess.CalledProcessError: Command '['/nix/store/sj364k7lsr47i87f7iv835lvvn7g4fqm-systemd-250.4/bin/bootctl', '--path=/boot', 'install']' returned non-zero exit status 1.
       > [    1.765057] reboot: Power down
       For full logs, run 'nix log /nix/store/1smqpppk1jk491yqx2chz4s6cdgbdrwv-nixos-ova-22.05.2676.b9fd420fa53-x86_64-linux.drv'.

.
Can someone please help.