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