73c39fe1be
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
16 lines
377 B
Nix
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;
|
|
}
|