nix/hosts/APPA/services/homepage-dashboard.nix

125 lines
3.2 KiB
Nix

{
services.homepage-dashboard = {
enable = true;
listenPort = 8002;
settings = {
title = "dryb.org";
theme = "light";
color = "white";
layout = [
{
"Network" = {
style = "row";
columns = 3;
};
}
{
"IOT" = {
style = "row";
columns = 3;
};
}
{
"Services" = {
style = "row";
columns = 3;
};
}
];
};
services = [
{
"Network" = [
{
"Adguard Home" = {
description = "https://adguard.dryb.org";
href = "https://adguard.dryb.org";
icon = "adguard-home";
};
}
{
"Speedport Smart 4" = {
description = "https://speedport.dryb.org (192.168.2.1)";
href = "https://speedport.dryb.org";
icon = "mdi-router-network-wireless";
};
}
{
"TP-Link TL-SG1016DE" = {
description = "http://tplink.dryb.org (192.168.2.30)";
href = "http://tplink.dryb.org";
icon = "mdi-switch";
};
}
];
}
{
"IOT" = [
{
"Shelly Server" = {
description = "http://shelly-server.dryb.org (192.168.2.50)";
href = "http://shelly-server.dryb.org";
icon = "shelly";
ping = "shelly-server.dryb.org";
};
}
{
"Shelly Infra" = {
description = "http://shelly-infra.dryb.org (192.168.2.51)";
href = "http://shelly-infra.dryb.org";
icon = "shelly";
ping = "shelly-infra.dryb.org";
};
}
{
"Shelly Test" = {
description = "http://shelly-test.dryb.org (192.168.2.52)";
href = "http://shelly-test.dryb.org";
icon = "shelly";
ping = "shelly-test.dryb.org";
};
}
];
}
{
"Services" = [
{
"Nextcloud" = {
description = "https://nextcloud.dryb.org";
href = "https://nextcloud.dryb.org";
icon = "nextcloud";
};
}
{
"Gitea" = {
description = "https://git.dryb.org";
href = "https://git.dryb.org";
icon = "gitea";
};
}
{
"Anki" = {
description = "https://anki.dryb.org";
href = "https://anki.dryb.org";
icon = "si-anki";
};
}
{
"Vaultwarden" = {
description = "https://vaultwarden.dryb.org";
href = "https://vaultwarden.dryb.org";
icon = "vaultwarden";
};
}
{
"Paperless" = {
description = "https://paperless.dryb.org";
href = "https://paperless.dryb.org";
icon = "paperless";
};
}
];
}
];
};
}