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

126 lines
3.2 KiB
Nix

{
services.homepage-dashboard = {
enable = true;
listenPort = 8002;
allowedHosts = "localhost:8002,127.0.0.1:8002,dryb.org";
settings = {
title = "dryb.org";
theme = "light";
color = "white";
quicklaunch = {
searchDescriptions = true;
hideInternetSearch = true;
showSearchSuggestions = true;
hideVisitURL = true;
};
hideVersion = true;
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 Lamp" = {
description = "http://shelly-lamp.dryb.org (192.168.2.52)";
href = "http://shelly-lamp.dryb.org";
icon = "shelly";
ping = "shelly-lamp.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";
};
}
{
"Paperless" = {
description = "https://paperless.dryb.org";
href = "https://paperless.dryb.org";
icon = "paperless";
};
}
];
}
];
};
}