{ config, lib, ... }: lib.mkIf (config.machine == "fire") { services.upower = { enable = true; usePercentageForPolicy = true; percentageLow = 15; percentageCritical = 5; }; # Power and temperature management tools services.thermald.enable = true; services.tlp.enable = true; services.tlp.settings = { TLP_DEFAULT_MODE = "BAT"; TLP_PERSISTENT_DEFAULT = 1; }; }