mirror of
https://github.com/smg1024/homelab.git
synced 2026-05-22 20:32:58 +09:00
48 lines
901 B
Nix
48 lines
901 B
Nix
{...}: {
|
|
services.homepage-dashboard = {
|
|
enable = true;
|
|
listenPort = 8082;
|
|
openFirewall = false;
|
|
allowedHosts = "home.ridewithmin.com";
|
|
|
|
settings = {
|
|
title = "Poby Homelab";
|
|
headerStyle = "clean";
|
|
};
|
|
|
|
services = [
|
|
{
|
|
"Homelab" = [
|
|
{
|
|
"Yggdrasil" = {
|
|
description = "Ingress node";
|
|
href = "https://home.ridewithmin.com";
|
|
};
|
|
}
|
|
{
|
|
"Midgard" = {
|
|
description = "Application host";
|
|
href = "https://home.ridewithmin.com";
|
|
};
|
|
}
|
|
];
|
|
}
|
|
];
|
|
|
|
widgets = [
|
|
{
|
|
resources = {
|
|
cpu = true;
|
|
memory = true;
|
|
disk = "/";
|
|
};
|
|
}
|
|
{
|
|
search = {
|
|
provider = "duckduckgo";
|
|
target = "_blank";
|
|
};
|
|
}
|
|
];
|
|
};
|
|
}
|