58 lines
1.3 KiB
Nix
58 lines
1.3 KiB
Nix
{
|
|
config,
|
|
...
|
|
}: {
|
|
services.homepage-dashboard = {
|
|
enable = true;
|
|
allowedHosts = "wg.moritz.place";
|
|
settings = {
|
|
title = "Tolle WG";
|
|
description = "Alles was eine WG braucht.";
|
|
};
|
|
services = [
|
|
{
|
|
Medien = [
|
|
{
|
|
Gucken = {
|
|
description = "Jellyfin";
|
|
href = "https://jellyfin.moritz.place";
|
|
};
|
|
}
|
|
{
|
|
Anfragen = {
|
|
description = "jellyseerr";
|
|
href = "https://jellyseerr.moritz.place";
|
|
};
|
|
}
|
|
];
|
|
}
|
|
{
|
|
Sonstiges = [
|
|
{
|
|
Putzplan = {
|
|
href = "https://putzplan.moritzboeh.me";
|
|
};
|
|
}
|
|
{
|
|
HomeAssistant = {
|
|
href = "https://homeassistant.moritzboeh.me";
|
|
};
|
|
}
|
|
{
|
|
"Feed (RSS) Reader" = {
|
|
description = "Miniflux";
|
|
href = "https://miniflux.moritzboeh.me";
|
|
};
|
|
}
|
|
];
|
|
}
|
|
];
|
|
};
|
|
services.nginx.virtualHosts."wg.moritz.place" = {
|
|
forceSSL = true;
|
|
useACMEHost = "any.moritz.place";
|
|
locations."/" = {
|
|
proxyPass = "http://127.0.0.1:${builtins.toString config.services.homepage-dashboard.listenPort}";
|
|
};
|
|
};
|
|
}
|