Move early KMS start definition to machine-specific hardware configuration

This commit is contained in:
Charlotte Van Petegem 2020-02-17 21:50:13 +01:00
parent f2ffe6be9b
commit fdda096e64
2 changed files with 2 additions and 4 deletions

View file

@ -4,7 +4,8 @@
imports = [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix> ];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usbhid" "usb_storage" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ];
# Early KMS start
boot.initrd.kernelModules = [ "i915" ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];