diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2017-09-03 23:34:57 +0200 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2017-09-03 23:34:57 +0200 |
commit | d977cf26de7f1b0ffe3cff39b1c2801aac0e695b (patch) | |
tree | cf4fcae0ee0595cb055c8cd58e1f1116395e32c7 /lenovo/ideapad | |
parent | ed46b99315a10254dfa4753423b45c1782465647 (diff) |
Segregate `lenovo/` subdir into `thinkpad` and `ideapad` directories
There are several significant differences between ThinkPads and the
other Lenovo models, so this structure must be more precise
Diffstat (limited to 'lenovo/ideapad')
-rw-r--r-- | lenovo/ideapad/z510.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lenovo/ideapad/z510.nix b/lenovo/ideapad/z510.nix new file mode 100644 index 0000000..4c45cac --- /dev/null +++ b/lenovo/ideapad/z510.nix @@ -0,0 +1,11 @@ +# NOTE: this doesn't inherit from the `general.nix` +# as z510 is not a ThinkPad + +{ 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" ]; +} |