595ce64755
* //users/tazjin: the services.localtime module was renamed https://github.com/NixOS/nixpkgs/pull/175831#issuecomment-1146590790 * //3p/nixpkgs: glimpse is broken, pick it from stable channel Change-Id: I4ea3f243e4575d3d7992ee6377fa9890c46db1ed Reviewed-on: https://cl.tvl.fyi/c/depot/+/5848 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: sterni <sternenseemann@systemli.org>
14 lines
345 B
Nix
14 lines
345 B
Nix
# Configuration specifically for laptops that move around.
|
|
{ ... }:
|
|
|
|
{
|
|
# Automatically detect location for redshift & timezone settings.
|
|
services.geoclue2.enable = true;
|
|
location.provider = "geoclue2";
|
|
services.localtimed.enable = true;
|
|
|
|
# Enable power-saving features.
|
|
services.tlp.enable = true;
|
|
|
|
programs.light.enable = true;
|
|
}
|