diff --git a/modules/system.nix b/modules/system.nix index 076cf67c..218311e4 100644 --- a/modules/system.nix +++ b/modules/system.nix @@ -87,7 +87,7 @@ in boot = { tmp = if iHaveLotsOfRam then { useTmpfs = true; } else { cleanOnBoot = true; }; - binfmt.emulatedSystems = [ "aarch64-linux" ]; + binfmt.emulatedSystems = mkIf (pkgs.system == "x86_64-linux") [ "aarch64-linux" ]; loader = { systemd-boot = mkIf (!isPhone) {