mrflos-nixos-config-fork/modules/laptop.nix
2023-04-14 23:51:52 +03:00

15 lines
445 B
Nix

# Configuration specifically for laptops that move around.
{ ... }:
{
# Automatically detect location for redshift & so on ...
services.geoclue2.enable = true;
location.provider = "geoclue2";
# Enable power-saving features.
# TODO find which one to use
# You have set services.power-profiles-daemon.enable = true; which conflicts with services.tlp.enable = true;
# services.tlp.enable = true;
programs.light.enable = true;
}