From 092a8b3658197c771f66421e8e39616128b826de Mon Sep 17 00:00:00 2001 From: Petru Paler Date: Sat, 25 Oct 2025 17:53:56 +0100 Subject: [PATCH] Only install memtest on x86 machines. --- common/systemd-boot.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }