mrflos-nixos-config-fork/modules/laptop.nix

16 lines
445 B
Nix
Raw Permalink Normal View History

2023-04-14 20:51:52 +00:00
# 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;
}