21 lines
459 B
Nix
21 lines
459 B
Nix
{lib, ...}: {
|
|
boot.initrd.availableKernelModules = [
|
|
"ata_piix"
|
|
"uhci_hcd"
|
|
"virtio_pci"
|
|
"virtio_scsi"
|
|
"sd_mod"
|
|
"sr_mod"
|
|
];
|
|
boot.kernelModules = [];
|
|
boot.extraModulePackages = [];
|
|
|
|
networking.useDHCP = lib.mkDefault true;
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
boot.loader.grub.enable = true;
|
|
|
|
# Emulated systems used as alternative to cross-compiling
|
|
boot.binfmt.emulatedSystems = ["aarch64-linux"];
|
|
}
|