From 3f3325a55e4a581cc3c7ab066e9fb883b1639bdc Mon Sep 17 00:00:00 2001 From: makefu Date: Sat, 18 Feb 2017 05:11:59 +0100 Subject: m x: replace laptop with new x230 (without coreboot) --- makefu/2configs/hw/tp-x230.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'makefu/2configs/hw') diff --git a/makefu/2configs/hw/tp-x230.nix b/makefu/2configs/hw/tp-x230.nix index 99563a77..855fda95 100644 --- a/makefu/2configs/hw/tp-x230.nix +++ b/makefu/2configs/hw/tp-x230.nix @@ -9,20 +9,26 @@ with import ; kernelModules = [ "kvm-intel" "thinkpad_ec" - # "acpi_call" + "acpi_call" # "thinkpad_acpi" # "tpm-rng" ]; extraModulePackages = [ - # config.boot.kernelPackages.acpi_call + config.boot.kernelPackages.acpi_call ]; }; + + # configured media keys inside awesomerc + # sound.mediaKeys.enable = true; + hardware.bluetooth.enable = true; + services.acpid.enable = true; hardware.opengl.extraPackages = [ pkgs.vaapiIntel pkgs.vaapiVdpau ]; services.xserver = { videoDriver = "intel"; deviceSection = '' Option "AccelMethod" "sna" + Option "Backlight" "intel_backlight" ''; }; # no entropy source working -- cgit v1.2.3 From 1135487724b442b78d7f4d863c02ab6b7fb801b2 Mon Sep 17 00:00:00 2001 From: makefu Date: Wed, 1 Mar 2017 15:53:16 +0100 Subject: m x230: move specific config to general config --- makefu/2configs/hw/tp-x230.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'makefu/2configs/hw') diff --git a/makefu/2configs/hw/tp-x230.nix b/makefu/2configs/hw/tp-x230.nix index 855fda95..2de32dd9 100644 --- a/makefu/2configs/hw/tp-x230.nix +++ b/makefu/2configs/hw/tp-x230.nix @@ -16,6 +16,8 @@ with import ; extraModulePackages = [ config.boot.kernelPackages.acpi_call ]; + # support backlight adjustment + kernelParams = [ "acpi_osi=Linux" "acpi_backlight=vendor" ]; }; # configured media keys inside awesomerc -- cgit v1.2.3