futher multi-arch work

This commit is contained in:
Don Harper 2024-06-16 17:26:05 -05:00
parent 26cabf185d
commit 0248ee783a

View file

@ -61,7 +61,8 @@ in
boot = {
kernelPackages = pkgs.linuxPackages_latest;
kernelParams = [ "consoleblank=60" ];
loader = {
loader = if (pkgs.hostPlatform == lib.mkDefault "aarch64-linux") then
{
systemd-boot = {
enable = true;
};
@ -69,6 +70,11 @@ in
canTouchEfiVariables = true;
efiSysMountPoint = "/boot";
};
}
else
{
grub.enable = false;
generic-extlinux-compatible.enable = true;
};
plymouth = {
enable = true;