tvl-depot/users/tazjin/nixos/modules/laptop.nix
Vincent Ambo 8cdce696eb fix(tazjin/arbat): disable powertop auto-tuning
It breaks USB devices.

Change-Id: I92fb024da4361537c8b6873fae2fcc1bf8572abc
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11774
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
2024-06-10 07:47:24 +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;
}