20 current 2025-10-07 00:49:35 25.05.20251001.5b5be50 6.12.49 *
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
let
|
||||
cfg = config.modules.services.sonarr;
|
||||
ids = lib.mkForce 2005;
|
||||
default_port = 8989;
|
||||
in
|
||||
{
|
||||
options.modules.services.sonarr = {
|
||||
@@ -10,8 +11,8 @@ in
|
||||
|
||||
port = lib.mkOption {
|
||||
type = lib.types.int;
|
||||
default = 7105;
|
||||
description = "set port for sonarr";
|
||||
default = 8989;
|
||||
description = "set port for sonarr (${toString default_port})";
|
||||
};
|
||||
|
||||
};
|
||||
@@ -48,7 +49,7 @@ in
|
||||
systemd.services.sonarr.serviceConfig = { UMask = lib.mkForce "0007"; };
|
||||
|
||||
# open firewall
|
||||
#networking.firewall.allowedTCPPorts = [ 7105 ];
|
||||
#networking.firewall.allowedTCPPorts = [ cfg.port ];
|
||||
|
||||
# reverse proxy entryo
|
||||
services.nginx.virtualHosts."sonarr.snowbelle.lan" = {
|
||||
|
||||
Reference in New Issue
Block a user