about summary refs log blame commit diff
path: root/users/tazjin/nixos/modules/laptop.nix
blob: da277dd3d63631b242320f89f96a5ca83666b48f (plain) (tree)
1
2
3
4
5
6
7
8



                                                          

                                                                   
                                 
                                   





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