about summary refs log tree commit diff
path: root/users/tazjin/nixos/modules/laptop.nix
blob: da277dd3d63631b242320f89f96a5ca83666b48f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Configuration specifically for laptops that move around.
{ ... }:

{
  # Automatically detect location for redshift & timezone settings.
  services.geoclue2.enable = true;
  location.provider = "geoclue2";
  services.localtime.enable = true;

  # Enable power-saving features.
  services.tlp.enable = true;

  programs.light.enable = true;
}