currents config
This commit is contained in:
33
home/packages/currents/currents.nix
Normal file
33
home/packages/currents/currents.nix
Normal file
@@ -0,0 +1,33 @@
|
||||
{config, pkgs, ...}:
|
||||
{
|
||||
services.currents = {
|
||||
enable = true;
|
||||
weather = {
|
||||
apiKeyFile = "/run/secrets/currentsApiKey";
|
||||
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;
|
||||
lowColor = "cyan";
|
||||
};
|
||||
# humidity = {
|
||||
|
||||
# };
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user