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

@@ -28,6 +28,7 @@
services = { services = {
jellyfin.enable = true; jellyfin.enable = true;
sonarr.enable = true; sonarr.enable = true;
sonarr.port = 7104;
}; };
}; };

View File

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