From c027f9c66d3f0cd9499d2b2469f7903fec605b75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Wed, 20 Nov 2024 10:03:08 +0100 Subject: [PATCH] use targetPlatform.system for x86 checks --- config/systemd-boot.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/systemd-boot.nix b/config/systemd-boot.nix index 15b38426..31c39d0e 100644 --- a/config/systemd-boot.nix +++ b/config/systemd-boot.nix @@ -1,6 +1,6 @@ -{ system, ... }: +{ pkgs, ... }: let - isx86 = system == "x86_64-linux"; + isx86 = pkgs.targetPlatform.system == "x86_64-linux"; in { boot.loader.systemd-boot = {