tvl-depot/users/tazjin/nixos/modules/laptop.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
377 B
Nix
Raw Normal View History

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