tvl-depot/users/tazjin/nixos/modules/laptop.nix
Vincent Ambo 9b86f8f208 chore(tazjin/nixos): use powertop only on zamalek
this has weird side effects on the AMD thinkpad (of course), but since
that is stationary in my office anyways the power-saving stuff doesn't
matter so much there.

Change-Id: Ie43e3a86b2da885c25eb5c3eb36683adb14edd1a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5948
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2022-07-14 15:28:32 +00:00

15 lines
335 B
Nix

# Configuration specifically for laptops that move around.
{ ... }:
{
time.timeZone = "Europe/Moscow";
# Automatically detect location for redshift & so on ...
services.geoclue2.enable = true;
location.provider = "geoclue2";
# Enable power-saving features.
services.tlp.enable = true;
programs.light.enable = true;
}