You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
637 B

2 months ago
  1. { modulesPath, ... }:
  2. {
  3. imports = [
  4. "${modulesPath}/installer/scan/not-detected.nix"
  5. ];
  6. boot.loader.systemd-boot.enable = true;
  7. boot.loader.efi.canTouchEfiVariables = true;
  8. boot.initrd.systemd.enable = true;
  9. boot.initrd.availableKernelModules = [
  10. "uhci_hcd"
  11. "ehci_pci"
  12. "ata_piix"
  13. "mptsas"
  14. "usb_storage"
  15. "usbhid"
  16. "sd_mod"
  17. "sr_mod"
  18. ];
  19. boot.initrd.kernelModules = [ ];
  20. boot.kernelModules = [ "kvm-intel" ];
  21. boot.extraModulePackages = [ ];
  22. nixpkgs.hostPlatform = "x86_64-linux";
  23. hardware.enableRedistributableFirmware = true;
  24. hardware.cpu.intel.updateMicrocode = true;
  25. }