18 current 2025-10-07 00:20:56 25.05.20251001.5b5be50 6.12.49 *
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
services = {
|
||||
jellyfin.enable = true;
|
||||
sonarr.enable = true;
|
||||
sonarr.port = 7104;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -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
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user