summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2016-10-28 14:10:40 +0200
committermakefu <github@syntax-fehler.de>2016-10-28 14:10:40 +0200
commit4056d9b66db3a2b6968a2b7dcb48b0a5f6205a52 (patch)
tree8db53b664a8c401ce73a896525865115556f9901
parent255af71a2511d7e819d5724fb792ee75a7999783 (diff)
m 2 hw: fix bcm and rfkill after resume
-rw-r--r--makefu/2configs/hw/bcm4352.nix1
-rw-r--r--makefu/2configs/hw/tp-x2x0.nix7
2 files changed, 5 insertions, 3 deletions
diff --git a/makefu/2configs/hw/bcm4352.nix b/makefu/2configs/hw/bcm4352.nix
index 516637eb8..5dc8a1449 100644
--- a/makefu/2configs/hw/bcm4352.nix
+++ b/makefu/2configs/hw/bcm4352.nix
@@ -1,6 +1,7 @@
{config, ...}:
{
networking.enableB43Firmware = true;
+ boot.kernelModules = [ "wl" ];
boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
}
diff --git a/makefu/2configs/hw/tp-x2x0.nix b/makefu/2configs/hw/tp-x2x0.nix
index 2b615ecfa..02bd8bb01 100644
--- a/makefu/2configs/hw/tp-x2x0.nix
+++ b/makefu/2configs/hw/tp-x2x0.nix
@@ -28,8 +28,9 @@ with import <stockholm/lib>;
services.tlp.enable = true;
services.tlp.extraConfig = ''
# BUG: http://linrunner.de/en/tlp/docs/tlp-faq.html#erratic-battery
- #START_CHARGE_THRESH_BAT0=80
- STOP_CHARGE_THRESH_BAT0=95
+ START_CHARGE_THRESH_BAT0=67
+ STOP_CHARGE_THRESH_BAT0=100
+
CPU_SCALING_GOVERNOR_ON_AC=performance
CPU_SCALING_GOVERNOR_ON_BAT=ondemand
@@ -40,6 +41,6 @@ with import <stockholm/lib>;
'';
powerManagement.resumeCommands = ''
- {pkgs.rfkill}/bin/rfkill unblock all
+ ${pkgs.rfkill}/bin/rfkill unblock all
'';
}