diff --git a/system/boot.nix b/system/boot.nix index a16a115..1cd7c80 100644 --- a/system/boot.nix +++ b/system/boot.nix @@ -14,5 +14,6 @@ # kernelModules = []; kernelPackages = pkgs.linuxPackages_zen; + kernelParams = ["rfkill.default_state=1"]; }; } diff --git a/system/power.nix b/system/power.nix index 78fe719..07d49be 100644 --- a/system/power.nix +++ b/system/power.nix @@ -9,6 +9,12 @@ tlp = lib.mkIf (config.has_battery) { enable = true; settings = { + WIFI_PWR_ON_BAT = "on"; + DEVICES_TO_ENABLE_ON_STARTUP = "wifi bluetooth"; + DEVICES_TO_DISABLE_ON_STARTUP = ""; + DEVICES_TO_DISABLE_ON_AC = ""; + DEVICES_TO_DISABLE_ON_BAT = ""; + START_CHARGE_THRESH_BAT0 = 50; STOP_CHARGE_THRESH_BAT0 = 85; };