homepage layout changes
This commit is contained in:
parent
372de23ecc
commit
280c38ce62
@ -4,17 +4,17 @@
|
||||
tab = "secret";
|
||||
style = "row";
|
||||
};
|
||||
# productivity = {
|
||||
# header = false;
|
||||
# tab = "productivity";
|
||||
# style = "row";
|
||||
# columns = 1;
|
||||
# };
|
||||
agenda = {
|
||||
header = false;
|
||||
tab = "agenda";
|
||||
style = "row";
|
||||
columns = 1;
|
||||
};
|
||||
multimedia = {
|
||||
header = false;
|
||||
tab = "servers";
|
||||
style = "row";
|
||||
columns = 3;
|
||||
columns = 2;
|
||||
};
|
||||
piracy = {
|
||||
header = false;
|
||||
|
||||
@ -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";
|
||||
|
||||
@ -4,11 +4,11 @@ let
|
||||
in
|
||||
[
|
||||
{ "stash" = [ { inherit (services) stash; } ]; }
|
||||
# {
|
||||
# productivity = [
|
||||
# { inherit (services) calendar; }
|
||||
# ];
|
||||
# }
|
||||
{
|
||||
agenda = [
|
||||
{ inherit (services) calendar; }
|
||||
];
|
||||
}
|
||||
{
|
||||
multimedia = [
|
||||
{ inherit (services) plex; }
|
||||
@ -24,12 +24,12 @@ in
|
||||
{ inherit (services) bazarr; }
|
||||
{ inherit (services) prowlarr; }
|
||||
{ inherit (services) sabnzbd; }
|
||||
{ inherit (services) "qbittorrent server"; }
|
||||
{ inherit (services) qbittorrent; }
|
||||
];
|
||||
}
|
||||
{
|
||||
main = [
|
||||
# { inherit (services) nextcloud; }
|
||||
{ inherit (services) nextcloud; }
|
||||
{ inherit (services) mealie; }
|
||||
{ inherit (services) paperless; }
|
||||
];
|
||||
|
||||
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user