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, ... }:
{