From a96a98cf6228004d1358eb3f6d26fb90a430bd07 Mon Sep 17 00:00:00 2001 From: danbst Date: Mon, 19 Sep 2016 02:27:01 +0300 Subject: [PATCH] add Lenovo IdeaPad Z510 with suspend fix --- lenovo/z510.nix | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 lenovo/z510.nix diff --git a/lenovo/z510.nix b/lenovo/z510.nix new file mode 100644 index 00000000..f1f5416b --- /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" ]; +}