about summary refs log blame commit diff
path: root/users/tazjin/nixos/modules/laptop.nix
blob: da35c787b5d0e7b78e2672ed8f2dfe6ef351fda7 (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.localtimed.enable = true;

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

  programs.light.enable = true;
}