diff --git a/common/systemd-boot.nix b/common/systemd-boot.nix index 8f77cca..670dc8d 100644 --- a/common/systemd-boot.nix +++ b/common/systemd-boot.nix @@ -1,8 +1,9 @@ +{ lib, ... }: { boot.loader.systemd-boot = { enable = true; configurationLimit = 5; - memtest86.enable = true; + memtest86.enable = lib.mkIf (pkgs.system == "x86_64-linux") true; }; boot.loader.efi.canTouchEfiVariables = true; }