liminix/modules/arch/aarch64.nix

19 lines
471 B
Nix
Raw Normal View History

2023-11-05 16:18:19 +01:00
{ lib, lim, pkgs, config, ...}:
{
config = {
kernel.config = {
CPU_LITTLE_ENDIAN= "y";
CPU_BIG_ENDIAN= "n";
# CMDLINE_FROM_BOOTLOADER availability is conditional
# on CMDLINE being set to something non-empty
CMDLINE="\"empty=false\"";
CMDLINE_FROM_BOOTLOADER = "y";
2023-09-30 22:52:13 +02:00
OF = "y";
2023-10-01 23:12:41 +02:00
# USE_OF = "y";
};
2023-11-05 16:18:19 +01:00
hardware.ram.startAddress = lim.parseInt "0x40000000";
2023-12-29 18:07:47 +01:00
system.outputs.u-boot = pkgs.ubootQemuAarch64;
};
}