First test

This commit is contained in:
= 2025-02-09 00:40:25 +01:00
parent 38c168eaef
commit 4cc62f1aef

View file

@ -1,32 +1,40 @@
let
p = import ../parameters.nix;
in
{ {
appConfig = { appConfig = {
cssThemes = [
"example-theme-1"
"example-theme-2"
];
enableFontAwesome = true; enableFontAwesome = true;
fontAwesomeKey = "e9076c7025"; fontAwesomeKey = "e9076c7025";
theme = "thebe"; 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 = { pageInfo = {
description = "My Awesome Dashboard"; description = "Pasetto's Homelab";
navLinks = [ navLinks = [
{ {
path = "/"; path = "/";
title = "Home"; title = "Home";
} }
{ {
path = "https://example.com"; path = "https://gitlab.com/pazpi/nix";
title = "Example 1"; title = "Source Code";
}
{
path = "https://example.com";
title = "Example 2";
} }
]; ];
title = "Dashy"; title = "Homelab? Homepage!";
}; };
sections = [ sections = [
{ {
displayData = { displayData = {
@ -65,8 +73,68 @@
title = "Demo 2"; title = "Demo 2";
url = "https://dashy-demo-2.as93.net"; 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 = "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";
}
];
}
]; ];
} }