mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-26 23:14:57 +08:00
ex101: enable arm cross compile via --option system
This commit is contained in:
parent
bf33f37552
commit
1938e5f0d6
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue