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

{
  time.timeZone = "Europe/Moscow";

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

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

  programs.light.enable = true;
}