refactor: use nixos-hardware GPU configs

Replace custom GPU config with ones from nixos-hardware.
This commit is contained in:
Felix Schröter 2023-11-28 00:09:59 +01:00
parent 531a407c08
commit c4ada51f15
Signed by: felschr
GPG key ID: 671E39E6744C807D
7 changed files with 4 additions and 45 deletions

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, modulesPath, ... }:
{ config, lib, ... }:
{
boot.initrd.availableKernelModules = [
@ -13,6 +13,7 @@
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.kernelParams = [ "i915.enable_guc=3" ];
boot.extraModulePackages = [ ];
fileSystems."/" = {