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 `system.build.installBootLoader' 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/mc4hwp55w3bzv27nq8l48za2rrr21a6q-extlinux-conf-builder.sh -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/4arsp9r5mwapy35acnb67hgrwmf2b4p6-uboot-builder.sh -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 = ''
start_x=1
gpu_mem=256
'';
boot.kernelModules = [ "bcm2835-v4l2" ];
How can I update to 22.05?