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



                                                          


                                                          
                                  



                                 
                                         


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