summaryrefslogtreecommitdiffstats
path: root/lenovo
diff options
context:
space:
mode:
authorYegor Timoshenko <yegortimoshenko@gmail.com>2017-12-24 12:37:08 +0000
committerYegor Timoshenko <yegortimoshenko@gmail.com>2017-12-24 12:37:08 +0000
commit721741b0c79b190259e415ea1606ced6744ee199 (patch)
tree1500bebe023c4d9e6229b47569df139464869b48 /lenovo
parent95c8873c41ef57d820b027e16db0709c050579e1 (diff)
lenovo/thinkpad/t460s: fix evaluation, drop old kernel notes
Diffstat (limited to 'lenovo')
-rw-r--r--lenovo/thinkpad/t460s/default.nix22
1 files changed, 1 insertions, 21 deletions
diff --git a/lenovo/thinkpad/t460s/default.nix b/lenovo/thinkpad/t460s/default.nix
index 039b6a4..ffe6ec3 100644
--- a/lenovo/thinkpad/t460s/default.nix
+++ b/lenovo/thinkpad/t460s/default.nix
@@ -1,31 +1,11 @@
{ config, lib, pkgs, ... }:
{
- imports = [
- ../.
- ../lib/kernel-version.nix
- ];
+ imports = [ ../. ];
# Use the gummiboot efi boot loader. (From default generated configuration.nix)
boot.loader.systemd-boot.enable = lib.mkDefault true;
boot.loader.efi.canTouchEfiVariables = lib.mkDefault true;
- # https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_T460s
- kernelAtleast = [
- { version = "4.5.1"; msg = "The physical mouse buttons works incorrectly."; }
- { version = "4.6"; msg = "Suspending the T460s by closing the lid when running on battery causes the machine to freeze up entirely."; }
- ];
-
- # For the screen. I don't know what to do with this information, but
- # the hiDPI support is far from perfect (as of July 2016):
-
- # Resolution: 2560 x 1440 px
- # Size: 12.2" × 6.86" (30.99cm × 17.43cm)
- # DPI: 209.8
- # Dot Pitch: 0.1211mm
- # Aspect Ratio: 16 × 9 (1.78:1)
- # Pixel Count: 3,686,400
- # Megapixels: 3.69MP
-
services.xserver.videoDrivers = [ "intel" ];
}