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 = {
cssThemes = [
"example-theme-1"
"example-theme-2"
];
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 = "My Awesome Dashboard";
description = "Pasetto's Homelab";
navLinks = [
{
path = "/";
title = "Home";
}
{
path = "https://example.com";
title = "Example 1";
}
{
path = "https://example.com";
title = "Example 2";
path = "https://gitlab.com/pazpi/nix";
title = "Source Code";
}
];
title = "Dashy";
title = "Homelab? Homepage!";
};
sections = [
{
displayData = {
@ -65,8 +73,68 @@
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";
}
];
}
];
}