Files
nixos-conf/home/packages/currents/currents.nix
2025-10-11 12:32:45 -06:00

35 lines
728 B
Nix

{config, pkgs, inputs, ...}:
{
services.currents = {
enable = true;
package = inputs.currents.packages.${pkgs.system}.currents-full;
weather = {
apiKey = "16722031ac8d5ec075344893fcbd41af";
location = "Denver, US";
units = "imperial";
provider = "openweathermap";
apiDailyLimit = 1000;
};
notifications = {
urgency = "normal";
sound = false;
};
polling = {
intervalSeconds = 300;
retryAttempts = 3;
retryDelaySeconds = 60;
};
forecastHighlights = {
temperature = {
high = 80.0;
highColor = "red";
low = 45.0;
lowColor = "cyan";
};
# humidity = {
# };
};
};
}