Improved docs

This commit is contained in:
rasmus-kirk
2024-03-03 18:14:51 +01:00
8 changed files with 19 additions and 1 deletions
+1
View File
@@ -14,6 +14,7 @@ in with lib; {
stateDir = mkOption { stateDir = mkOption {
type = types.path; type = types.path;
default = "${nixarr.stateDir}/jellyfin"; default = "${nixarr.stateDir}/jellyfin";
defaultText = literalExpression ''"''${nixarr.stateDir}/jellyfin"'';
description = "The state directory for Jellyfin."; description = "The state directory for Jellyfin.";
}; };
+1
View File
@@ -13,6 +13,7 @@ in {
stateDir = mkOption { stateDir = mkOption {
type = types.path; type = types.path;
default = "${nixarr.stateDir}/lidarr"; default = "${nixarr.stateDir}/lidarr";
defaultText = literalExpression ''"''${nixarr.stateDir}/lidarr"'';
description = "The state directory for Lidarr"; description = "The state directory for Lidarr";
}; };
-1
View File
@@ -141,7 +141,6 @@ in {
} }
]; ];
# TODO: move this to modules, at least the "*Arrs"...
users.groups = { users.groups = {
media = {}; media = {};
streamer = {}; streamer = {};
+1
View File
@@ -19,6 +19,7 @@ in {
stateDir = mkOption { stateDir = mkOption {
type = types.path; type = types.path;
default = "${nixarr.stateDir}/prowlarr"; default = "${nixarr.stateDir}/prowlarr";
defaultText = literalExpression ''"''${nixarr.stateDir}/prowlarr"'';
description = "The state directory for Prowlarr."; description = "The state directory for Prowlarr.";
}; };
+1
View File
@@ -15,6 +15,7 @@ in {
stateDir = mkOption { stateDir = mkOption {
type = types.path; type = types.path;
default = "${nixarr.stateDir}/radarr"; default = "${nixarr.stateDir}/radarr";
defaultText = literalExpression ''"''${nixarr.stateDir}/radarr"'';
description = "The state directory for radarr."; description = "The state directory for radarr.";
}; };
+1
View File
@@ -13,6 +13,7 @@ in {
stateDir = mkOption { stateDir = mkOption {
type = types.path; type = types.path;
default = "${nixarr.stateDir}/readarr"; default = "${nixarr.stateDir}/readarr";
defaultText = literalExpression ''"''${nixarr.stateDir}/readarr"'';
description = "The state directory for Readarr"; description = "The state directory for Readarr";
}; };
+1
View File
@@ -19,6 +19,7 @@ in {
stateDir = mkOption { stateDir = mkOption {
type = types.path; type = types.path;
default = "${nixarr.stateDir}/sonarr"; default = "${nixarr.stateDir}/sonarr";
defaultText = literalExpression ''"''${nixarr.stateDir}/sonarr"'';
description = "The state directory for Sonarr."; description = "The state directory for Sonarr.";
}; };
+13
View File
@@ -66,6 +66,7 @@ in {
stateDir = mkOption { stateDir = mkOption {
type = types.path; type = types.path;
default = "${nixarr.stateDir}/transmission"; default = "${nixarr.stateDir}/transmission";
defaultText = literalExpression ''"''${nixarr.stateDir}/transmission"'';
description = '' description = ''
The state directory for Transmission. The state directory for Transmission.
''; '';
@@ -74,6 +75,7 @@ in {
downloadDir = mkOption { downloadDir = mkOption {
type = types.path; type = types.path;
default = "${nixarr.mediaDir}/torrents"; default = "${nixarr.mediaDir}/torrents";
defaultText = literalExpression ''"''${nixarr.mediaDir}/torrents"'';
description = '' description = ''
The directory for Transmission to download to. The directory for Transmission to download to.
''; '';
@@ -120,6 +122,7 @@ in {
stateDir = mkOption { stateDir = mkOption {
type = types.path; type = types.path;
default = "${nixarr.stateDir}/cross-seed"; default = "${nixarr.stateDir}/cross-seed";
defaultText = literalExpression ''"''${nixarr.stateDir}/cross-seed"'';
description = '' description = ''
The state directory for Transmission. The state directory for Transmission.
''; '';
@@ -128,6 +131,7 @@ in {
indexIds = mkOption { indexIds = mkOption {
type = with types; listOf int; type = with types; listOf int;
default = []; default = [];
example = [ 1 3 7 ];
description = '' description = ''
List of indexer-ids, from prowlarr. These are from the RSS links List of indexer-ids, from prowlarr. These are from the RSS links
for the indexers, located by the "radio" or "RSS" logo on the for the indexers, located by the "radio" or "RSS" logo on the
@@ -142,6 +146,10 @@ in {
extraSettings = mkOption { extraSettings = mkOption {
type = types.attrs; type = types.attrs;
default = {}; default = {};
example = {
port = 3000;
delay = 20;
};
description = '' description = ''
Extra settings for the cross-seed Extra settings for the cross-seed
service, see [the cross-seed options service, see [the cross-seed options
@@ -180,6 +188,9 @@ in {
extraSettings = mkOption { extraSettings = mkOption {
type = types.attrs; type = types.attrs;
default = {}; default = {};
example = {
trash-original-torrent-files = true;
};
description = '' description = ''
Extra config settings for the Transmission service. Extra config settings for the Transmission service.
@@ -232,6 +243,8 @@ in {
transmissionRpcUrl = "http://localhost:${builtins.toString cfg.uiPort}/transmission/rpc"; transmissionRpcUrl = "http://localhost:${builtins.toString cfg.uiPort}/transmission/rpc";
rssCadence = "20 minutes"; rssCadence = "20 minutes";
action = "inject";
# Enable infrequent periodic searches # Enable infrequent periodic searches
searchCadence = "1 week"; searchCadence = "1 week";
excludeRecentSearch = "1 year"; excludeRecentSearch = "1 year";