From ad5412b9f2460ae17e1defbcfb682995f563830f Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Mon, 8 Feb 2016 15:12:20 +0300 Subject: [PATCH] lenovo/t440p.nix: init --- lenovo/t440p.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 lenovo/t440p.nix diff --git a/lenovo/t440p.nix b/lenovo/t440p.nix new file mode 100644 index 0000000..47f5f66 --- /dev/null +++ b/lenovo/t440p.nix @@ -0,0 +1,10 @@ +{ config, pkgs, ... }: + +{ + boot = { + extraModprobeConfig = '' + options bbswitch use_acpi_to_detect_card_state=1 + ''; + kernelModules = [ "kvm-intel" "tpm-rng" ]; + }; +}