232 lines
6.0 KiB
Nix
232 lines
6.0 KiB
Nix
{ inputs, pkgs, ... }:
|
|
{
|
|
services.homepage-dashboard = {
|
|
enable = true;
|
|
openFirewall = true;
|
|
allowedHosts = "dashboard.shobu.fr";
|
|
settings = {
|
|
title = "Shobu's homelab dashboard";
|
|
description = "a dashboard of free and awesome bullshit";
|
|
startUrl = "https://dashboard.shobu.fr";
|
|
base = "https://dashboard.shobu.fr";
|
|
headerStyle = "boxed";
|
|
|
|
providers = {
|
|
"finnhub" = "cuvq5e9r01qub8tv03g0cuvq5e9r01qub8tv03gg";
|
|
};
|
|
|
|
layout = [
|
|
{ "resources" = { }; }
|
|
{
|
|
"about me stuff" = {
|
|
tab = "Public";
|
|
};
|
|
}
|
|
{
|
|
"tools" = {
|
|
tab = "Public";
|
|
};
|
|
}
|
|
{
|
|
"gayming" = {
|
|
tab = "Public";
|
|
};
|
|
}
|
|
{
|
|
"mediacenter" = {
|
|
tab = "Mediacenter";
|
|
header = false;
|
|
};
|
|
}
|
|
];
|
|
};
|
|
|
|
widgets = [
|
|
{
|
|
greeting = {
|
|
text = "Welcome on my services and links dashboard, make yourself home. mlem";
|
|
};
|
|
}
|
|
{
|
|
datetime = {
|
|
format = {
|
|
dateStyle = "short";
|
|
};
|
|
};
|
|
}
|
|
{
|
|
glances = {
|
|
url = "https://zimablade-admin.shobu.fr";
|
|
user = "shobu";
|
|
password = "shobu";
|
|
version = 4;
|
|
disk = [
|
|
"/"
|
|
"/mnt/fs"
|
|
];
|
|
expanded = true;
|
|
};
|
|
}
|
|
];
|
|
|
|
bookmarks = [
|
|
{
|
|
"tools" = [
|
|
{
|
|
"bddtrans" = [
|
|
{
|
|
icon = "https://bddtrans.shobu.fr/favicon.ico";
|
|
href = "https://bddtrans.shobu.fr";
|
|
}
|
|
];
|
|
}
|
|
];
|
|
}
|
|
{
|
|
"about me stuff" = [
|
|
{
|
|
"shobu.fr" = [
|
|
{
|
|
icon = "https://shobu.fr/favicon.ico";
|
|
href = "https://shobu.fr";
|
|
}
|
|
];
|
|
}
|
|
{
|
|
"gitlab" = [
|
|
{
|
|
icon = "gitlab.png";
|
|
href = "https://gitlab.com/shobu13";
|
|
}
|
|
];
|
|
}
|
|
];
|
|
}
|
|
];
|
|
|
|
services = [
|
|
{
|
|
"gayming" = [
|
|
{
|
|
"testing grounds" = {
|
|
description = "a lightweight modded minecraft server";
|
|
href = "https://modrinth.com/modpack/testing-grounds";
|
|
widget = {
|
|
type = "minecraft";
|
|
url = "udp://minecraft.shobu.fr:25565";
|
|
};
|
|
};
|
|
}
|
|
];
|
|
}
|
|
{
|
|
"mediacenter" = [
|
|
{
|
|
"users" = [
|
|
{
|
|
"jellyfin" = {
|
|
icon = "jellyfin.png";
|
|
href = "https://jellyfin.shobu.fr";
|
|
description = "Movies & TV shows";
|
|
widget = {
|
|
type = "jellyfin";
|
|
url = "https://jellyfin.shobu.fr";
|
|
key = "af4888d2c6594473be63e8299355d048";
|
|
enableBlocks = true;
|
|
enableNowPlaying = false;
|
|
};
|
|
};
|
|
}
|
|
{
|
|
"jellyseerr" = {
|
|
icon = "jellyseerr.png";
|
|
href = "https://jellyseerr.shobu.fr";
|
|
description = "Request movies and shows";
|
|
widget = {
|
|
type = "jellyseerr";
|
|
url = "https://jellyseerr.shobu.fr";
|
|
key = "MTczNzkyNzMxMzgwODk4N2FlZWJkLTQ0N2QtNGU0MS1iOWE1LTJmZmE3OTI4ZGQ5OQ==";
|
|
};
|
|
};
|
|
}
|
|
{
|
|
"calendar" = {
|
|
widget = {
|
|
type = "calendar";
|
|
view = "agenda";
|
|
showTime = true;
|
|
integrations = [
|
|
{
|
|
type = "sonarr";
|
|
service_group = "administration";
|
|
service_name = "sonarr";
|
|
}
|
|
{
|
|
type = "radarr";
|
|
service_group = "administration";
|
|
service_name = "radarr";
|
|
}
|
|
{
|
|
type = "lidarr";
|
|
service_group = "administration";
|
|
service_name = "lidarr";
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|
|
];
|
|
}
|
|
{
|
|
"administration" = [
|
|
{
|
|
"radarr" = {
|
|
icon = "radarr.png";
|
|
href = "https://radarr.shobu.fr";
|
|
widget = {
|
|
type = "radarr";
|
|
url = "https://radarr.shobu.fr";
|
|
key = "13474b968893451fb5aa378457dc84a2";
|
|
};
|
|
};
|
|
}
|
|
{
|
|
"sonarr" = {
|
|
icon = "sonarr.png";
|
|
href = "https://sonarr.shobu.fr";
|
|
widget = {
|
|
type = "sonarr";
|
|
url = "https://sonarr.shobu.fr";
|
|
key = "f194704f6dce4072928d857d49c1f185";
|
|
};
|
|
};
|
|
}
|
|
{
|
|
"lidarr" = {
|
|
icon = "lidarr.png";
|
|
href = "https://lidarr.shobu.fr";
|
|
widget = {
|
|
type = "lidarr";
|
|
url = "https://lidarr.shobu.fr";
|
|
key = "deff3fc5052844e7b37dfe439a91f8bc";
|
|
};
|
|
};
|
|
}
|
|
{
|
|
"transmission" = {
|
|
icon = "transmission.png";
|
|
href = "https://transmission.shobu.fr";
|
|
widget = {
|
|
type = "transmission";
|
|
url = "https://transmission.shobu.fr";
|
|
};
|
|
};
|
|
}
|
|
];
|
|
}
|
|
];
|
|
}
|
|
];
|
|
};
|
|
}
|