mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-26 21:09:42 +01:00
thinkpad: drop intel.nix, explicit services.xserver.videoDrivers
Kernel modules are already generated with nixos-generate-config.
This commit is contained in:
parent
1bb5593772
commit
0c17d72838
4 changed files with 5 additions and 9 deletions
|
@ -1,4 +0,0 @@
|
|||
{
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
services.xserver.videoDrivers = [ "intel" ];
|
||||
}
|
|
@ -1,8 +1,6 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ../intel.nix ];
|
||||
|
||||
boot = {
|
||||
kernelParams = [
|
||||
"drm.debug=0"
|
||||
|
@ -86,4 +84,5 @@
|
|||
# ${pkgs.ethtool}/bin/ethtool -s enp0s25 wol d || true
|
||||
};
|
||||
|
||||
services.xserver.videoDrivers = [ "intel" ];
|
||||
}
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ../intel.nix ];
|
||||
|
||||
boot = {
|
||||
extraModprobeConfig = ''
|
||||
options bbswitch use_acpi_to_detect_card_state=1
|
||||
'';
|
||||
kernelModules = [ "tpm-rng" ];
|
||||
};
|
||||
|
||||
services.xserver.videoDrivers = [ "intel" ];
|
||||
}
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
{
|
||||
imports = [
|
||||
../lib/kernel-version.nix
|
||||
./general-intel.nix
|
||||
];
|
||||
|
||||
# Use the gummiboot efi boot loader. (From default generated configuration.nix)
|
||||
|
@ -26,4 +25,6 @@
|
|||
# Aspect Ratio: 16 × 9 (1.78:1)
|
||||
# Pixel Count: 3,686,400
|
||||
# Megapixels: 3.69MP
|
||||
|
||||
services.xserver.videoDrivers = [ "intel" ];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue