From 0c51ed4b80179d07c1ab1c8f18a5267677b24f2e Mon Sep 17 00:00:00 2001 From: Yegor Timoshenko Date: Sun, 24 Dec 2017 01:28:22 +0000 Subject: [PATCH] x140e: drop options generated with nixos-generate-config --- lenovo/thinkpad/x140e/default.nix | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/lenovo/thinkpad/x140e/default.nix b/lenovo/thinkpad/x140e/default.nix index 31b0bb3..81f67ad 100644 --- a/lenovo/thinkpad/x140e/default.nix +++ b/lenovo/thinkpad/x140e/default.nix @@ -3,17 +3,9 @@ { imports = [ ../. ]; - boot = { - # wireless - kernelModules = [ "kvm-amd" "wl" ]; - extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ]; + boot.extraModprobeConfig = lib.mkDefault '' + options snd_hda_intel enable=0,1 + ''; - # audio device - extraModprobeConfig = lib.mkDefault '' - options snd_hda_intel enable=0,1 - ''; - }; - - # video card services.xserver.videoDrivers = [ "ati" ]; }