homepage: wip cal, weather + secret hidden

This commit is contained in:
2025-01-22 21:31:32 -06:00
parent a83fbf5e9a
commit a1b9f9e47d
5 changed files with 87 additions and 14 deletions

View File

@@ -1,5 +1,49 @@
{ lib, config, ... }:
{
calendar.widget = {
type = "calendar";
firstDayInWeek = "sunday";
view = "monthly";
maxEvents = 10;
showTime = true;
timezone = "America/Mexico_City";
integrations =
let
createIntegration = name: color: {
type = name;
service_group = "multimedia";
service_name = name;
color = color;
params.unmonitored = true;
};
in
[
(createIntegration "sonarr" "teal")
(createIntegration "radarr" "amber")
(createIntegration "lidarr" "lime")
{
type = "ical";
url = "https://cloud.servidos.lat/remote.php/dav/public-calendars/QLfA37F4dA2q4Way?export";
name = "chores";
color = "yellow";
params.showName = true;
}
{
type = "ical";
url = "https://cloud.servidos.lat/remote.php/dav/public-calendars/8jbXjTKrYqoqHk7M?export";
name = "personal";
color = "blue";
params.showName = true;
}
{
type = "ical";
url = "https://cloud.servidos.lat/remote.php/dav/public-calendars/3zdXGggc6P4JF4WB?export";
name = "health";
color = "yellow";
params.showName = true;
}
];
};
audiobookshelf =
let
cfg = config.my.servers.audiobookshelf;