summaryrefslogtreecommitdiffstats
path: root/lenovo/ideapad
diff options
context:
space:
mode:
authorYegor Timoshenko <yegortimoshenko@gmail.com>2017-12-24 15:13:25 +0000
committerYegor Timoshenko <yegortimoshenko@gmail.com>2017-12-24 15:13:25 +0000
commit3743ae21f52ce986c3a091f29eff13749a3a342f (patch)
tree986e7243b0327a647f31e618833f5a894f08d626 /lenovo/ideapad
parenta74c9bdaf8ca2b1e5496db4fbd5780e84b5f4db0 (diff)
treewide: only ever set unmergable options via lib.mkDefault
Also extract documentation from raspberry-pi/2/ profile.
Diffstat (limited to 'lenovo/ideapad')
-rw-r--r--lenovo/ideapad/z510/default.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/lenovo/ideapad/z510/default.nix b/lenovo/ideapad/z510/default.nix
index 6cc6dc6..4c8edf3 100644
--- a/lenovo/ideapad/z510/default.nix
+++ b/lenovo/ideapad/z510/default.nix
@@ -1,9 +1,8 @@
-{ config, pkgs, ... }:
+{ lib, ... }:
{
- hardware.cpu.intel.updateMicrocode = true;
+ hardware.cpu.intel.updateMicrocode = lib.mkDefault true;
- # see https://github.com/NixOS/nixpkgs/issues/18356
- # found buggy driver with method https://wiki.ubuntu.com/DebuggingKernelSuspend
+ # https://github.com/NixOS/nixpkgs/issues/18356
boot.blacklistedKernelModules = [ "nouveau" ];
}