diff --git a/raspberry-pi/2/default.nix b/raspberry-pi/2/default.nix index d22db5b..368cb27 100644 --- a/raspberry-pi/2/default.nix +++ b/raspberry-pi/2/default.nix @@ -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; }; }; diff --git a/tests/build-profile.nix b/tests/build-profile.nix index aa3714a..786fa8b 100644 --- a/tests/build-profile.nix +++ b/tests/build-profile.nix @@ -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;