Cannot find a DeviceTree on RPi3 in 22.05

I’ve been using 20.05 but the system doesn’t boot into new system. After connecting HDMI it seems that it cannot find device tree.

I haven’t made any changes to configuration except commenting out old bootloader but it doesn’t seems to work:

error: The option `' is defined multiple times.
       Only one bootloader can be enabled at a time. This requirement has not
       been checked until NixOS 22.05. Earlier versions defaulted to the last
       definition. Change your configuration to enable only one bootloader.

       Definition values:
       - In `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/boot/loader/generic-extlinux-compatible': "/nix/store/ -g 20 -t 5 -c"
       - In `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/boot/loader/raspberrypi/raspberrypi.nix': "/nix/store/ -g 20 -t 5 -c"
(use '--show-trace' to show detailed location information)

The configuration is:

  boot.loader.grub.enable = false;
  #boot.loader.generic-extlinux-compatible.enable = true;
  boot.loader.raspberryPi.enable = true;
  boot.loader.raspberryPi.version = 3;
  boot.loader.raspberryPi.uboot.enable = true;
  boot.loader.raspberryPi.firmwareConfig = ''
  boot.kernelModules = [ "bcm2835-v4l2" ];

How can I update to 22.05?

Hosted by Flying Circus.