tvl-depot/users/tazjin/nixos/modules/laptop.nix
Vincent Ambo 73c39fe1be feat(tazjin/nixos): bootstrap arbat (Zhaoxin CPU notebook)
Prepares the pre-installation config (before actually running the installer on
the notebook and dumping out a hardware config etc.).

Change-Id: Ia74c4bfa298738cbf8c4034c22d9f8b51c7e67e0
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11765
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2024-06-09 11:36:33 +00:00

16 lines
377 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;
powerManagement.powertop.enable = true;
programs.light.enable = true;
}