From 0248ee783ac525499409cdcf20b583aec36353a9 Mon Sep 17 00:00:00 2001 From: Don Harper Date: Sun, 16 Jun 2024 17:26:05 -0500 Subject: [PATCH] futher multi-arch work --- hosts/workstation/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/hosts/workstation/default.nix b/hosts/workstation/default.nix index f7a69a6..98dcfe0 100644 --- a/hosts/workstation/default.nix +++ b/hosts/workstation/default.nix @@ -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;