18 current 2025-10-07 00:20:56 25.05.20251001.5b5be50 6.12.49 *

This commit is contained in:
2025-10-07 00:46:38 -05:00
parent 96b10ce1fd
commit de5f4d9522
2 changed files with 8 additions and 7 deletions

View File

@@ -7,12 +7,12 @@ in
{
options.modules.services.sonarr = {
enable = lib.mkEnableOption "enables sonarr";
# extra options
# mode = lib.mkOption {
# type = lib.types.enum [ "server" "client" ];
# default = "client";
# description = "whether syncthing should run as a client (user) or server (system-wide).";
# };
mode = lib.mkOption {
port = lib.types.int;
default = 7105;
description = "define port for sonarr";
};
};
@@ -40,7 +40,7 @@ in
group = "sonarr";
dataDir = "/var/lib/sonarr";
settings = {
server.port = 7105; # default: 8989
server.port = port; # default: 8989
};
};