treewide: only ever set unmergable options via lib.mkDefault

Also extract documentation from raspberry-pi/2/ profile.
This commit is contained in:
Yegor Timoshenko
2017-12-24 15:13:25 +00:00
parent a74c9bdaf8
commit 3743ae21f5
6 changed files with 58 additions and 72 deletions

View File

@@ -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" ];
}