manatee: Add services homepage with auto-discovery

Add a homepage module that generates a static landing page served on
port 80 via nginx. Each service module registers itself via the shared
mod.homepage.services option, so enabling a module automatically adds
it to the page.
This commit is contained in:
Alexander Heldt
2026-02-28 21:46:44 +01:00
parent f2130be7e4
commit cd83e17d46
10 changed files with 165 additions and 0 deletions

View File

@@ -15,6 +15,12 @@ in
};
config = lib.mkIf enabled {
mod.homepage.services = [{
name = "Transmission";
port = 9091;
description = "Torrent client";
}];
services = {
transmission = {
enable = true;