Fixed upnp
This commit is contained in:
+14
-2
@@ -18,10 +18,22 @@ pkgs.nixosTest {
|
|||||||
nixarr = {
|
nixarr = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
jellyfin.enable = true;
|
jellyfin = {
|
||||||
|
enable = true;
|
||||||
|
expose.https = {
|
||||||
|
enable = true;
|
||||||
|
upnp.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
plex = {
|
||||||
|
enable = true;
|
||||||
|
expose.https = {
|
||||||
|
enable = true;
|
||||||
|
upnp.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
jellyseerr.enable = true;
|
jellyseerr.enable = true;
|
||||||
audiobookshelf.enable = true;
|
audiobookshelf.enable = true;
|
||||||
plex.enable = true;
|
|
||||||
|
|
||||||
transmission = {
|
transmission = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -35,12 +35,14 @@ in {
|
|||||||
recyclarr = 269;
|
recyclarr = 269;
|
||||||
sabnzbd = 38;
|
sabnzbd = 38;
|
||||||
transmission = 70;
|
transmission = 70;
|
||||||
cross-seed = 183;
|
# Removed 2025-10-29
|
||||||
|
# cross-seed = 183;
|
||||||
whisparr = 272;
|
whisparr = 272;
|
||||||
};
|
};
|
||||||
gids = {
|
gids = {
|
||||||
autobrr = 188;
|
autobrr = 188;
|
||||||
cross-seed = 183;
|
# Removed 2025-10-29
|
||||||
|
# cross-seed = 183;
|
||||||
jellyseerr = 250;
|
jellyseerr = 250;
|
||||||
media = 169;
|
media = 169;
|
||||||
prowlarr = 287;
|
prowlarr = 287;
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ in {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
mkIf cfg.upnp.enable {
|
mkIf cfg.enable {
|
||||||
enable = true;
|
enable = true;
|
||||||
description = "Sets port on router";
|
description = "Sets port on router";
|
||||||
script = "${upnp-ports}/bin/upnp-ports";
|
script = "${upnp-ports}/bin/upnp-ports";
|
||||||
@@ -89,7 +89,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
timers = {
|
timers = {
|
||||||
upnpc = mkIf cfg.upnp.enable {
|
upnpc = mkIf cfg.enable {
|
||||||
description = "Sets port on router";
|
description = "Sets port on router";
|
||||||
wantedBy = ["timers.target"];
|
wantedBy = ["timers.target"];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user