From 9d7f9d0ec82445b47d44ef46d9bee5fde6cb6b25 Mon Sep 17 00:00:00 2001 From: June Date: Thu, 6 Jun 2024 20:17:00 +0200 Subject: [PATCH] Emulate aarch64-linux on nix-box-june to be able to build aarch64 pkgs --- config/hosts/nix-box-june/default.nix | 1 + config/hosts/nix-box-june/emulated-systems.nix | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 config/hosts/nix-box-june/emulated-systems.nix diff --git a/config/hosts/nix-box-june/default.nix b/config/hosts/nix-box-june/default.nix index cb94765..489fd67 100644 --- a/config/hosts/nix-box-june/default.nix +++ b/config/hosts/nix-box-june/default.nix @@ -3,6 +3,7 @@ { imports = [ ./configuration.nix + ./emulated-systems.nix ./networking.nix ./users.nix ]; diff --git a/config/hosts/nix-box-june/emulated-systems.nix b/config/hosts/nix-box-june/emulated-systems.nix new file mode 100644 index 0000000..b6065dd --- /dev/null +++ b/config/hosts/nix-box-june/emulated-systems.nix @@ -0,0 +1,5 @@ +{ config, pkgs, ... }: + +{ + boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; +}