homepage layout changes

This commit is contained in:
2025-06-06 13:26:28 -06:00
parent 372de23ecc
commit 280c38ce62
4 changed files with 21 additions and 63 deletions

View File

@@ -2,8 +2,7 @@
{
calendar.widget = {
type = "calendar";
firstDayInWeek = "sunday";
view = "monthly";
view = "agenda";
maxEvents = 10;
showTime = true;
inherit (config.my) timeZone;
@@ -12,7 +11,7 @@
createIntegration = name: color: {
inherit color;
type = name;
service_group = "multimedia";
service_group = "piracy";
service_name = name;
params.unmonitored = true;
};
@@ -21,27 +20,6 @@
(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 =
@@ -167,7 +145,7 @@
password = "{{HOMEPAGE_VAR_KAVITA_PASSWORD}}";
};
};
"qbittorrent server" =
qbittorrent =
let
url = "https://${config.my.ips.server}:${toString config.my.servers.qbittorrent.port}";
name = "qbittorrent";
@@ -182,21 +160,6 @@
password = "{{HOMEPAGE_VAR_QBIT_PASSWORD}}";
};
};
"qbittorrent miniserver" =
let
url = "https://${config.my.ips.miniserver}:${toString config.my.servers.qbittorrent.port}";
name = "qbittorrent";
in
lib.mkIf config.my.servers.qbittorrent.enable {
icon = "${name}.png";
href = url;
widget = {
type = name;
inherit url;
username = "{{HOMEPAGE_VAR_QBIT_USERNAME}}";
password = "{{HOMEPAGE_VAR_QBIT_PASSWORD}}";
};
};
sabnzbd =
let
name = "sabnzbd";