140 lines
3.2 KiB
Nix
140 lines
3.2 KiB
Nix
let
|
|
p = import ../parameters.nix;
|
|
in
|
|
{
|
|
appConfig = {
|
|
enableFontAwesome = true;
|
|
fontAwesomeKey = "e9076c7025";
|
|
theme = "thebe";
|
|
statusCheck = true;
|
|
auth = {
|
|
enableOidc = true;
|
|
oidc = {
|
|
clientId = "FiIJTqBIlMKmeSBjznUFgXIJadt71av8dfICvZvf";
|
|
endpoint = "https://auth.pasetto.me/application/o/dashy/";
|
|
};
|
|
};
|
|
webSearch = {
|
|
searchEngine = "custom";
|
|
customSearchEngine = "https://search.${p.domains.ts}/search?q=";
|
|
};
|
|
};
|
|
|
|
pageInfo = {
|
|
description = "Pasetto's Homelab";
|
|
navLinks = [
|
|
{
|
|
path = "/";
|
|
title = "Home";
|
|
}
|
|
{
|
|
path = "https://gitlab.com/pazpi/nix";
|
|
title = "Source Code";
|
|
}
|
|
];
|
|
title = "Homelab? Homepage!";
|
|
};
|
|
|
|
sections = [
|
|
{
|
|
displayData = {
|
|
collapsed = true;
|
|
cols = 2;
|
|
customStyles = "border: 2px dashed red;";
|
|
itemSize = "large";
|
|
};
|
|
items = [
|
|
{
|
|
backgroundColor = "#0079ff";
|
|
color = "#00ffc9";
|
|
description = "Source code and documentation on GitHub";
|
|
icon = "fab fa-github";
|
|
target = "sametab";
|
|
title = "Source";
|
|
url = "https://github.com/Lissy93/dashy";
|
|
}
|
|
{
|
|
description = "View currently open issues, or raise a new one";
|
|
icon = "fas fa-bug";
|
|
title = "Issues";
|
|
url = "https://github.com/Lissy93/dashy/issues";
|
|
}
|
|
{
|
|
description = "Live Demo #1";
|
|
icon = "fas fa-rocket";
|
|
target = "iframe";
|
|
title = "Demo 1";
|
|
url = "https://dashy-demo-1.as93.net";
|
|
}
|
|
{
|
|
description = "Live Demo #2";
|
|
icon = "favicon";
|
|
target = "newtab";
|
|
title = "Demo 2";
|
|
url = "https://dashy-demo-2.as93.net";
|
|
}
|
|
{
|
|
description = "Proxmox";
|
|
icon = "fab fa-linux";
|
|
target = "newtab";
|
|
title = "Proxmox";
|
|
url = "https://192.168.1.177:8006";
|
|
}
|
|
];
|
|
name = "Getting Started";
|
|
}
|
|
{
|
|
name = "Public Services";
|
|
displayData = {
|
|
cols = 1;
|
|
collapsed = false;
|
|
};
|
|
items = [
|
|
{
|
|
title = "Nextcloud";
|
|
url = "https://cloud.${p.domains.public}";
|
|
icon = "hl-nextcloud";
|
|
}
|
|
{
|
|
title = "Vaultwarden";
|
|
url = "https://vault.${p.domains.public}";
|
|
icon = "hl-vaultwarden";
|
|
}
|
|
];
|
|
}
|
|
{
|
|
name = "Private Services";
|
|
displayData = {
|
|
cols = 1;
|
|
collapsed = false;
|
|
};
|
|
items = [
|
|
{
|
|
title = "Searx";
|
|
url = "https://search.${p.domains.ts}";
|
|
icon = "hl-searxng";
|
|
}
|
|
];
|
|
}
|
|
{
|
|
name = "Monitoring Services";
|
|
displayData = {
|
|
cols = 1;
|
|
collapsed = false;
|
|
};
|
|
items = [
|
|
{
|
|
title = "Grafana";
|
|
url = "https://grafana.${p.domains.ts}";
|
|
icon = "hl-grafana";
|
|
}
|
|
{
|
|
title = "Prometheus";
|
|
url = "https://prometheus.${p.domains.ts}";
|
|
icon = "hl-prometheus";
|
|
}
|
|
];
|
|
}
|
|
|
|
];
|
|
}
|