about summary refs log tree commit diff
path: root/users/tazjin/nixos/modules/laptop.nix
blob: a175be6393ca2ff2733e3ddf9f6070e404b2e1f1 (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 = "Europe/Stockholm";

  # 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;
}