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

{
  time.timeZone = "Asia/Bangkok";

  # Automatically detect location for redshift & so on ...
  services.geoclue2.enable = true;
  location.provider = "geoclue2";

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

  programs.light.enable = true;
}