mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-06 09:58:47 +08:00
common/gpu/intel*: Migrate to common/gpu/intel/* and add disable
This commit is contained in:
7
common/gpu/intel/disable.nix
Normal file
7
common/gpu/intel/disable.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{ lib, ... }:
|
||||
|
||||
{
|
||||
boot.blacklistedKernelModules = lib.mkDefault [ "i915" ];
|
||||
# KMS will load the module, regardless of blacklisting
|
||||
boot.kernelParams = lib.mkDefault [ "i915.modeset=0" ];
|
||||
}
|
||||
Reference in New Issue
Block a user