main
nix 29 lines 553 Bytes
Raw
1 {
2 config,
3 lib,
4 modulesPath,
5 ...
6 }:
7 {
8 imports = [
9 (modulesPath + "/installer/scan/not-detected.nix")
10 ];
11
12 boot.initrd.availableKernelModules = [
13 "xhci_pci"
14 "ehci_pci"
15 "ahci"
16 "usbhid"
17 "usb_storage"
18 "sd_mod"
19 "sr_mod"
20 ];
21 boot.initrd.kernelModules = [ ];
22 boot.kernelModules = [ "kvm-intel" ];
23 boot.extraModulePackages = [ ];
24
25 swapDevices = [ ];
26
27 nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
28 hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
29 }