1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-22 19: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"
"video=vesafb:ywrap"
# Important, to disable Kernel Mode Setting for the graphics card
# This will allow backlight regulation
# Important, disable KMS to fix backlight regulation:
"nomodeset"
];
};
# TODO: reverse compat
hardware.opengl.driSupport = false;
# TODO: reverse compat
services.xserver = {
defaultDepth = lib.mkDefault 24;
};

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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