From 2c7acbecfad9fa80a78373be49241ac2202e06d9 Mon Sep 17 00:00:00 2001
From: makefu <github@syntax-fehler.de>
Date: Wed, 1 Mar 2017 15:53:16 +0100
Subject: [PATCH] m x230: move specific config to general config

---
 1systems/x.nix          | 1 -
 2configs/hw/tp-x230.nix | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/1systems/x.nix b/1systems/x.nix
index 1e29876..9666f50 100644
--- a/1systems/x.nix
+++ b/1systems/x.nix
@@ -64,7 +64,6 @@
       ../2configs/fs/sda-crypto-root-home.nix
 
     ];
-  boot.kernelParams = [ "acpi_osi=Linux" "acpi_backlight=vendor" ];
 
   makefu.server.primary-itf = "wlp3s0";
   makefu.full-populate = true;
diff --git a/2configs/hw/tp-x230.nix b/2configs/hw/tp-x230.nix
index 855fda9..2de32dd 100644
--- a/2configs/hw/tp-x230.nix
+++ b/2configs/hw/tp-x230.nix
@@ -16,6 +16,8 @@ with import <stockholm/lib>;
     extraModulePackages = [
       config.boot.kernelPackages.acpi_call
     ];
+    # support backlight adjustment
+    kernelParams = [ "acpi_osi=Linux" "acpi_backlight=vendor" ];
   };
 
   # configured media keys inside awesomerc