Enable aarch emulation on Exodus

This commit is contained in:
Greg Hellings
2024-10-18 09:12:37 -05:00
parent d36acd9618
commit c5090d69a2
+11 -5
View File
@@ -1,14 +1,20 @@
{ ... }: { config, ... }:
{ {
imports = [ imports = [ ./hardware-configuration.nix ];
./hardware-configuration.nix
];
boot.loader = { boot = {
loader = {
systemd-boot.enable = true; systemd-boot.enable = true;
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
}; };
binfmt.emulatedSystems = [
"i686-linux"
"aarch64-linux"
];
};
nix.settings.extra-platforms = config.boot.binfmt.emulatedSystems;
networking.hostName = "exodus"; networking.hostName = "exodus";
greg = { greg = {