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:
parent
554629a957
commit
d1d99eb158
8 changed files with 12 additions and 7 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
|
@ -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
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# TODO: use ../../common/pc/laptop
|
||||||
|
|
||||||
{ lib, ... }:
|
{ lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue