feat: Homepage

This commit is contained in:
marthsincemelee
2026-04-20 14:46:44 +02:00
parent e1ea5b03dc
commit 191e860455
14 changed files with 259 additions and 25 deletions
+11
View File
@@ -7,6 +7,8 @@
}:
let
cfg = config.my.profiles.jellyfin;
hostName = config.networking.hostName;
port = 8096;
in
{
options.my.profiles.jellyfin = with lib; {
@@ -20,6 +22,15 @@ in
openFirewall = true;
};
my.homepage.services = [
{
group = "Media";
name = "Jellyfin";
description = "Media server";
href = "http://${hostName}:${toString port}";
}
];
systemd.services.jellyfin = {
after = [ "network-online.target" ];
};