From 000c9f2d902a29e2ebc5a92b9c65fbb9ae0d7bff Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sun, 16 Jun 2024 07:43:51 -0400 Subject: [PATCH] system: Enable aarch64-linux emulation This makes it possible to build the phone on the laptop, useful to significantly reduce build times. --- modules/system.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/system.nix b/modules/system.nix index 3216d33e..3712e8bb 100644 --- a/modules/system.nix +++ b/modules/system.nix @@ -67,6 +67,8 @@ in then { useTmpfs = true; } else { cleanOnBoot = true; }; + binfmt.emulatedSystems = [ "aarch64-linux" ]; + loader = { systemd-boot = { enable = true;