From a51e09571725594f9e6fb629f646498efad64ea4 Mon Sep 17 00:00:00 2001 From: Hermes Date: Sat, 6 Jun 2026 09:16:23 -0400 Subject: [PATCH] feat: enable aarch64 cross-build on lazyworkhorse (QEMU binfmt + extra-platforms) --- hosts/lazyworkhorse/configuration.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/lazyworkhorse/configuration.nix b/hosts/lazyworkhorse/configuration.nix index f1afae4..6f02a2b 100644 --- a/hosts/lazyworkhorse/configuration.nix +++ b/hosts/lazyworkhorse/configuration.nix @@ -11,6 +11,10 @@ # Flakesss nix.settings.experimental-features = [ "nix-command" "flakes" "flake-self-attrs" ]; nix.settings.trusted-users = [ "root" "gortium" ]; + nix.settings.extra-platforms = [ "aarch64-linux" ]; + + # QEMU binfmt for cross-building aarch64 NixOS targets + boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; # Garbage collection nix.gc = {