diff --git a/common/systemd-boot.nix b/common/systemd-boot.nix index e9fdd5c..d95ccb7 100644 --- a/common/systemd-boot.nix +++ b/common/systemd-boot.nix @@ -3,7 +3,7 @@ boot.loader.systemd-boot = { enable = true; configurationLimit = 5; - memtest86.enable = lib.mkIf (pkgs.system == "x86_64-linux") true; + memtest86.enable = lib.mkIf (pkgs.stdenv.hostPlatform.system == "x86_64-linux") true; }; boot.loader.efi.canTouchEfiVariables = true; }