This commit is contained in:
foosinn 2022-09-30 09:41:10 +02:00
parent efab382ce2
commit 75289b6cd3
9 changed files with 322 additions and 13 deletions

View file

@ -10,7 +10,7 @@ in {
boot.extraModulePackages = [ ];
boot.initrd.availableKernelModules =
[ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ ];
boot.initrd.kernelModules = [ "i915" ];
boot.kernelModules = [ "kvm-intel" ];
boot.kernelParams = [ "intel_pstate=active" ];
boot.extraModprobeConfig = ''
@ -29,6 +29,9 @@ in {
libvdpau-va-gl
];
};
environment.variables = {
VDPAU_DRIVER = lib.mkIf config.hardware.opengl.enable (lib.mkDefault "va_gl");
};
fileSystems."/" = {
device = "tank/work/nixos";