ex101: enable arm cross compile via --option system

This commit is contained in:
Sridhar Ratnakumar 2023-07-14 12:36:59 -04:00
parent bf33f37552
commit 1938e5f0d6

View file

@ -11,6 +11,7 @@
efiInstallAsRemovable = true;
};
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "sd_mod" ];
boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; # For cross-compiling, https://discourse.nixos.org/t/how-do-i-cross-compile-a-flake/12062/4?u=srid
nixpkgs.hostPlatform = "x86_64-linux";
# powerManagement.cpuFreqGovernor = "ondemand";
hardware.cpu.intel.updateMicrocode = true;