30 lines
706 B
Nix
30 lines
706 B
Nix
{ config, lib, modulesPath, ... }:
|
|
{
|
|
imports = [
|
|
(modulesPath + "/hardware/network/broadcom-43xx.nix")
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
];
|
|
|
|
boot = {
|
|
initrd = {
|
|
availableKernelModules = [
|
|
"nvme"
|
|
"sd_mod"
|
|
"usb_storage"
|
|
"xhci_pci"
|
|
];
|
|
kernelModules = [
|
|
"applespi"
|
|
"atkbd"
|
|
"dm-snapshot"
|
|
"intel_lpss_pci"
|
|
"spi_pxa2xx_platform"
|
|
];
|
|
};
|
|
kernelModules = [ "kvm-intel" ];
|
|
};
|
|
|
|
networking.useDHCP = lib.mkDefault true;
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
}
|