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:
parent
554629a957
commit
d1d99eb158
8 changed files with 12 additions and 7 deletions
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
boot = {
|
||||
extraModprobeConfig = ''
|
||||
extraModprobeConfig = lib.mkDefault ''
|
||||
options snd slots=snd_usb_audio,snd-hda-intel
|
||||
'';
|
||||
};
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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" ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
imports = [
|
||||
../.
|
||||
../../../common/cpu/intel
|
||||
../../../common/pc/laptop/hdd
|
||||
../../../common/pc/laptop/hdd # TODO: reverse compat
|
||||
../tp-smapi.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# TODO: use ../../common/pc/laptop
|
||||
|
||||
{ lib, ... }:
|
||||
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue