15 lines
459 B
Nix
15 lines
459 B
Nix
|
{ config, lib, pkgs, modulesPath, ... }:
|
||
|
{
|
||
|
boot = {
|
||
|
kernelModules = [ "kvm-intel" ];
|
||
|
initrd = {
|
||
|
availableKernelModules = [ "ehci_pci" "ata_piix" "usbhid" "usb_storage" "sd_mod" "sr_mod" ];
|
||
|
kernelModules = [ "dm-snapshot" ];
|
||
|
};
|
||
|
};
|
||
|
|
||
|
networking.useDHCP = lib.mkDefault true;
|
||
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||
|
}
|