Skip to content

Commit

Permalink
rpi2: switch to extlinux bootloader
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 authored and mergify[bot] committed Jan 7, 2025
1 parent 95a8125 commit 75a9205
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions raspberry-pi/2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@
loader = {
grub.enable = lib.mkDefault false;
generationsDir.enable = lib.mkDefault false;
raspberryPi = {
enable = lib.mkDefault true;
version = lib.mkDefault 2;
};
generic-extlinux-compatible.enable = lib.mkDefault true;
};
};

Expand Down
2 changes: 1 addition & 1 deletion tests/build-profile.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
profile
({ config, lib, ... }: {
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.
boot.loader.grub.enable = false;

Expand Down

0 comments on commit 75a9205

Please sign in to comment.