35 lines
728 B
Nix
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 = {
|
|
|
|
# };
|
|
};
|
|
};
|
|
}
|