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
@@ -7,6 +7,7 @@
}:
let
cfg = config.my.profiles.audiobookshelf;
hostName = config.networking.hostName;
in
{
options.my.profiles.audiobookshelf = with lib; {
@@ -26,6 +27,15 @@ in
audiobookshelf
];
my.homepage.services = [
{
group = "Media";
name = "Audiobookshelf";
description = "Audiobooks and podcasts";
href = "http://${hostName}:63834";
}
];
systemd.services.audiobookshelf = {
after = [ "network-online.target" ];
};