homepage: wip cal, weather + secret hidden
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user