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 = {