feat: Homepage
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
{ config, lib, ... }:
|
||||
let
|
||||
cfg = config.my.profiles.jellyseerr;
|
||||
inherit (config.networking) domain;
|
||||
hostName = config.networking.hostName;
|
||||
port = 5055;
|
||||
in
|
||||
{
|
||||
options.my.profiles.jellyseerr = with lib; {
|
||||
@@ -15,6 +16,15 @@ in
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
my.homepage.services = [
|
||||
{
|
||||
group = "Media";
|
||||
name = "Jellyseerr";
|
||||
description = "Media requests";
|
||||
href = "http://${hostName}:${toString port}";
|
||||
}
|
||||
];
|
||||
|
||||
systemd.services.jellyseerr = {
|
||||
after = [ "network-online.target" ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user