homepage layout changes
This commit is contained in:
parent
372de23ecc
commit
280c38ce62
@ -4,17 +4,17 @@
|
|||||||
tab = "secret";
|
tab = "secret";
|
||||||
style = "row";
|
style = "row";
|
||||||
};
|
};
|
||||||
# productivity = {
|
agenda = {
|
||||||
# header = false;
|
header = false;
|
||||||
# tab = "productivity";
|
tab = "agenda";
|
||||||
# style = "row";
|
style = "row";
|
||||||
# columns = 1;
|
columns = 1;
|
||||||
# };
|
};
|
||||||
multimedia = {
|
multimedia = {
|
||||||
header = false;
|
header = false;
|
||||||
tab = "servers";
|
tab = "servers";
|
||||||
style = "row";
|
style = "row";
|
||||||
columns = 3;
|
columns = 2;
|
||||||
};
|
};
|
||||||
piracy = {
|
piracy = {
|
||||||
header = false;
|
header = false;
|
||||||
|
|||||||
@ -2,8 +2,7 @@
|
|||||||
{
|
{
|
||||||
calendar.widget = {
|
calendar.widget = {
|
||||||
type = "calendar";
|
type = "calendar";
|
||||||
firstDayInWeek = "sunday";
|
view = "agenda";
|
||||||
view = "monthly";
|
|
||||||
maxEvents = 10;
|
maxEvents = 10;
|
||||||
showTime = true;
|
showTime = true;
|
||||||
inherit (config.my) timeZone;
|
inherit (config.my) timeZone;
|
||||||
@ -12,7 +11,7 @@
|
|||||||
createIntegration = name: color: {
|
createIntegration = name: color: {
|
||||||
inherit color;
|
inherit color;
|
||||||
type = name;
|
type = name;
|
||||||
service_group = "multimedia";
|
service_group = "piracy";
|
||||||
service_name = name;
|
service_name = name;
|
||||||
params.unmonitored = true;
|
params.unmonitored = true;
|
||||||
};
|
};
|
||||||
@ -21,27 +20,6 @@
|
|||||||
(createIntegration "sonarr" "teal")
|
(createIntegration "sonarr" "teal")
|
||||||
(createIntegration "radarr" "amber")
|
(createIntegration "radarr" "amber")
|
||||||
(createIntegration "lidarr" "lime")
|
(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 =
|
audiobookshelf =
|
||||||
@ -167,7 +145,7 @@
|
|||||||
password = "{{HOMEPAGE_VAR_KAVITA_PASSWORD}}";
|
password = "{{HOMEPAGE_VAR_KAVITA_PASSWORD}}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
"qbittorrent server" =
|
qbittorrent =
|
||||||
let
|
let
|
||||||
url = "https://${config.my.ips.server}:${toString config.my.servers.qbittorrent.port}";
|
url = "https://${config.my.ips.server}:${toString config.my.servers.qbittorrent.port}";
|
||||||
name = "qbittorrent";
|
name = "qbittorrent";
|
||||||
@ -182,21 +160,6 @@
|
|||||||
password = "{{HOMEPAGE_VAR_QBIT_PASSWORD}}";
|
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 =
|
sabnzbd =
|
||||||
let
|
let
|
||||||
name = "sabnzbd";
|
name = "sabnzbd";
|
||||||
|
|||||||
@ -4,11 +4,11 @@ let
|
|||||||
in
|
in
|
||||||
[
|
[
|
||||||
{ "stash" = [ { inherit (services) stash; } ]; }
|
{ "stash" = [ { inherit (services) stash; } ]; }
|
||||||
# {
|
{
|
||||||
# productivity = [
|
agenda = [
|
||||||
# { inherit (services) calendar; }
|
{ inherit (services) calendar; }
|
||||||
# ];
|
];
|
||||||
# }
|
}
|
||||||
{
|
{
|
||||||
multimedia = [
|
multimedia = [
|
||||||
{ inherit (services) plex; }
|
{ inherit (services) plex; }
|
||||||
@ -24,12 +24,12 @@ in
|
|||||||
{ inherit (services) bazarr; }
|
{ inherit (services) bazarr; }
|
||||||
{ inherit (services) prowlarr; }
|
{ inherit (services) prowlarr; }
|
||||||
{ inherit (services) sabnzbd; }
|
{ inherit (services) sabnzbd; }
|
||||||
{ inherit (services) "qbittorrent server"; }
|
{ inherit (services) qbittorrent; }
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
main = [
|
main = [
|
||||||
# { inherit (services) nextcloud; }
|
{ inherit (services) nextcloud; }
|
||||||
{ inherit (services) mealie; }
|
{ inherit (services) mealie; }
|
||||||
{ inherit (services) paperless; }
|
{ inherit (services) paperless; }
|
||||||
];
|
];
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user