chore(mediabox): re-add service ports

This commit is contained in:
arcnmx 2024-01-25 07:49:29 -08:00
parent f1018dfbff
commit 1bae94505d
4 changed files with 53 additions and 10 deletions

14
modules/nixos/lidarr.nix Normal file
View file

@ -0,0 +1,14 @@
{
lib,
...
}: let
inherit (lib.options) mkOption;
in {
options.services.lidarr = with lib.types; {
port = mkOption {
type = port;
default = 8686;
readOnly = true;
};
};
}

View file

@ -0,0 +1,14 @@
{
lib,
...
}: let
inherit (lib.options) mkOption;
in {
options.services.prowlarr = with lib.types; {
port = mkOption {
type = port;
default = 9696;
readOnly = true;
};
};
}

14
modules/nixos/readarr.nix Normal file
View file

@ -0,0 +1,14 @@
{
lib,
...
}: let
inherit (lib.options) mkOption;
in {
options.services.readarr = with lib.types; {
port = mkOption {
type = port;
default = 8787;
readOnly = true;
};
};
}