1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-26 21:09:42 +01:00

treewide: mark things that have to be done

This commit is contained in:
Yegor Timoshenko 2017-12-25 21:26:29 +00:00
parent 554629a957
commit d1d99eb158
No known key found for this signature in database
GPG key ID: C34BF9DCC9DF8210
8 changed files with 12 additions and 7 deletions

View file

@ -14,14 +14,15 @@
"vga=0x317" "vga=0x317"
"video=vesafb:ywrap" "video=vesafb:ywrap"
# Important, to disable Kernel Mode Setting for the graphics card # Important, disable KMS to fix backlight regulation:
# This will allow backlight regulation
"nomodeset" "nomodeset"
]; ];
}; };
# TODO: reverse compat
hardware.opengl.driSupport = false; hardware.opengl.driSupport = false;
# TODO: reverse compat
services.xserver = { services.xserver = {
defaultDepth = lib.mkDefault 24; defaultDepth = lib.mkDefault 24;
}; };

View file

@ -10,7 +10,7 @@
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
# TODO: drop # TODO: reverse compat
hardware.opengl.driSupport32Bit = true; hardware.opengl.driSupport32Bit = true;
services.xserver = { services.xserver = {

View file

@ -1,8 +1,6 @@
{ config, pkgs, ... }:
{ {
boot = { boot = {
extraModprobeConfig = '' extraModprobeConfig = lib.mkDefault ''
options snd slots=snd_usb_audio,snd-hda-intel options snd slots=snd_usb_audio,snd-hda-intel
''; '';
}; };

View file

@ -8,6 +8,8 @@
]; ];
boot = { boot = {
# TODO: this configuration seems to be very aggressive.
# Ask @peti if it's stable or not.
kernelParams = [ kernelParams = [
"drm.debug=0" "drm.debug=0"
"drm.vblankoffdelay=1" "drm.vblankoffdelay=1"

View file

@ -10,6 +10,7 @@
extraModprobeConfig = lib.mkDefault '' extraModprobeConfig = lib.mkDefault ''
options bbswitch use_acpi_to_detect_card_state=1 options bbswitch use_acpi_to_detect_card_state=1
''; '';
# TODO: probably enable tcsd? Is this line necessary?
kernelModules = [ "tpm-rng" ]; kernelModules = [ "tpm-rng" ];
}; };
} }

View file

@ -4,7 +4,7 @@
imports = [ imports = [
../. ../.
../../../common/cpu/intel ../../../common/cpu/intel
../../../common/pc/laptop/hdd ../../../common/pc/laptop/hdd # TODO: reverse compat
../tp-smapi.nix ../tp-smapi.nix
]; ];
} }

View file

@ -4,5 +4,6 @@
# to use the type cover in the initrd # to use the type cover in the initrd
boot.kernelModules = [ "hid-microsoft" ]; boot.kernelModules = [ "hid-microsoft" ];
# TODO: reverse compat
networking.wireless.enable = lib.mkDefault true; networking.wireless.enable = lib.mkDefault true;
} }

View file

@ -1,3 +1,5 @@
# TODO: use ../../common/pc/laptop
{ lib, ... }: { lib, ... }:
{ {