feat: big refactor
This commit is contained in:
parent
2c09c21833
commit
ebedec9768
159 changed files with 1927 additions and 2222 deletions
74
hosts/APPA/services/homepage-dashboard.nix
Normal file
74
hosts/APPA/services/homepage-dashboard.nix
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
{
|
||||
services.homepage-dashboard = {
|
||||
enable = true;
|
||||
listenPort = 8002;
|
||||
settings = {
|
||||
title = "dryb.org";
|
||||
layout = {
|
||||
"Network" = {
|
||||
style = "row";
|
||||
columns = 3;
|
||||
};
|
||||
"IOT" = {
|
||||
style = "row";
|
||||
columns = 3;
|
||||
};
|
||||
};
|
||||
};
|
||||
services = [
|
||||
{
|
||||
"Network" = [
|
||||
{
|
||||
"Adguard Home" = {
|
||||
description = "http://adguard.dryb.org";
|
||||
href = "http://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 Infra" = {
|
||||
description = "http://shelly-infra.dryb.org (192.168.2.50)";
|
||||
href = "http://shelly-infra.dryb.org";
|
||||
icon = "shelly";
|
||||
ping = "shelly-infra.dryb.org";
|
||||
};
|
||||
}
|
||||
{
|
||||
"Shelly Workstation" = {
|
||||
description = "http://shelly-workstation.dryb.org (192.168.2.51)";
|
||||
href = "http://shelly-workstation.dryb.org";
|
||||
icon = "shelly";
|
||||
ping = "shelly-workstation.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";
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue