2022-05-09 17:04:52 +02:00
|
|
|
# Configuration specifically for laptops that move around.
|
|
|
|
{ ... }:
|
|
|
|
|
|
|
|
{
|
2022-05-10 16:17:03 +02:00
|
|
|
# Automatically detect location for redshift & timezone settings.
|
|
|
|
services.geoclue2.enable = true;
|
2022-05-09 17:04:52 +02:00
|
|
|
location.provider = "geoclue2";
|
2022-05-10 16:17:03 +02:00
|
|
|
services.localtime.enable = true;
|
2022-05-09 17:04:52 +02:00
|
|
|
|
|
|
|
# Enable power-saving features.
|
|
|
|
services.tlp.enable = true;
|
|
|
|
|
|
|
|
programs.light.enable = true;
|
|
|
|
}
|