nix-config/nixos/hardware-configuration/capibara.nix

33 lines
839 B
Nix
Raw Permalink Normal View History

2022-01-18 09:32:55 +01:00
# 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, ... }:
{
2022-02-25 18:19:57 +01:00
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
2022-01-18 09:32:55 +01:00
2022-02-25 18:19:57 +01:00
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 = [ ];
};
2022-01-18 09:32:55 +01:00
2022-02-25 18:19:57 +01:00
hardware = {
cpu.intel.updateMicrocode = true;
opengl.extraPackages = with pkgs; [ vaapiIntel libvdpau-va-gl vaapiVdpau ];
};
2022-01-18 09:32:55 +01:00
}