33 lines
839 B
Nix
33 lines
839 B
Nix
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
|||
|
# and may be overwritten by future invocations. Please make changes
|
|||
|
# to /etc/nixos/configuration.nix instead.
|
|||
|
{ config, lib, pkgs, modulesPath, ... }:
|
|||
|
|
|||
|
{
|
|||
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
|||
|
|
|||
|
boot = {
|
|||
|
initrd = {
|
|||
|
kernelModules = [ ];
|
|||
|
availableKernelModules = [
|
|||
|
"xhci_pci"
|
|||
|
"ehci_pci"
|
|||
|
"ahci"
|
|||
|
"usb_storage"
|
|||
|
"sd_mod"
|
|||
|
"sr_mod"
|
|||
|
"sdhci_pci"
|
|||
|
];
|
|||
|
};
|
|||
|
kernelModules = [ "kvm-intel" ];
|
|||
|
kernelParams =
|
|||
|
[ "intel_pstate=passive" "i915.enable_fbc=1" "i915.enable_psr=2" ];
|
|||
|
extraModulePackages = [ ];
|
|||
|
};
|
|||
|
|
|||
|
hardware = {
|
|||
|
cpu.intel.updateMicrocode = true;
|
|||
|
opengl.extraPackages = with pkgs; [ vaapiIntel libvdpau-va-gl vaapiVdpau ];
|
|||
|
};
|
|||
|
}
|