Infini-FRAMEWORK: add aarch64 binfmt and extra platform

This commit is contained in:
Infinidoge 2024-06-26 09:18:33 -04:00
parent a00395207e
commit d64340dab6
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A

View file

@ -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 = {