summaryrefslogtreecommitdiffstats
path: root/lenovo
diff options
context:
space:
mode:
authorДанило Глинський (Danylo Hlynskyi) <abcz2.uprola@gmail.com>2016-09-21 12:33:54 +0300
committerEmery Hemingway <emery@v36.space>2016-09-21 11:33:54 +0200
commitcfd63d3b3e15fd440701dbbd25d57effe379b87d (patch)
tree8fc72fe254c7118799cb9d79061fef3e35f9d7b7 /lenovo
parentbc241aeec7bb78ad7b6362c8324f194a5696e64b (diff)
add Lenovo IdeaPad Z510 with suspend fix (#18)
Diffstat (limited to 'lenovo')
-rw-r--r--lenovo/z510.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/lenovo/z510.nix b/lenovo/z510.nix
new file mode 100644
index 0000000..f1f5416
--- /dev/null
+++ b/lenovo/z510.nix
@@ -0,0 +1,8 @@
+{ config, pkgs, ... }:
+{
+ hardware.cpu.intel.updateMicrocode = true;
+
+ # see https://github.com/NixOS/nixpkgs/issues/18356
+ # found buggy driver with method https://wiki.ubuntu.com/DebuggingKernelSuspend
+ boot.blacklistedKernelModules = [ "nouveau" ];
+}