1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2025-01-26 18:55:00 +01:00

rpi2: switch to extlinux bootloader

This commit is contained in:
Jörg Thalheim 2025-01-07 08:21:10 +01:00 committed by mergify[bot]
parent 95a812557b
commit 75a920536c
2 changed files with 2 additions and 5 deletions

View file

@ -13,10 +13,7 @@
loader = { loader = {
grub.enable = lib.mkDefault false; grub.enable = lib.mkDefault false;
generationsDir.enable = lib.mkDefault false; generationsDir.enable = lib.mkDefault false;
raspberryPi = { generic-extlinux-compatible.enable = lib.mkDefault true;
enable = lib.mkDefault true;
version = lib.mkDefault 2;
};
}; };
}; };

View file

@ -4,7 +4,7 @@
profile profile
({ config, lib, ... }: { ({ config, lib, ... }: {
nixpkgs.pkgs = pkgs; nixpkgs.pkgs = pkgs;
boot.loader.systemd-boot.enable = !config.boot.loader.generic-extlinux-compatible.enable && !config.boot.loader.raspberryPi.enable; boot.loader.systemd-boot.enable = !config.boot.loader.generic-extlinux-compatible.enable;
# we forcefully disable grub here just for testing purposes, even though some profiles might still use grub in the end. # we forcefully disable grub here just for testing purposes, even though some profiles might still use grub in the end.
boot.loader.grub.enable = false; boot.loader.grub.enable = false;