From d64340dab69b0032da9c901c5c6d1c6c8437d116 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Wed, 26 Jun 2024 09:18:33 -0400 Subject: [PATCH] Infini-FRAMEWORK: add aarch64 binfmt and extra platform --- hosts/Infini-FRAMEWORK/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/Infini-FRAMEWORK/default.nix b/hosts/Infini-FRAMEWORK/default.nix index d346a97..d29b96a 100644 --- a/hosts/Infini-FRAMEWORK/default.nix +++ b/hosts/Infini-FRAMEWORK/default.nix @@ -1,4 +1,4 @@ -{ pkgs, lib, ... }: { +{ config, pkgs, lib, ... }: { imports = [ ./hardware-configuration.nix ./filesystems.nix @@ -16,6 +16,9 @@ ]; }; + boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; + nix.settings.extra-platforms = config.boot.binfmt.emulatedSystems; + modules = { boot.grub.enable = true; hardware = {