recyclarr: fix syntax for example configuration
This commit is contained in:
@@ -25,24 +25,24 @@ in
|
||||
type = format.type;
|
||||
default = { };
|
||||
example = {
|
||||
sonarr = [
|
||||
{
|
||||
sonarr = {
|
||||
sonarr-main = {
|
||||
instance_name = "main";
|
||||
base_url = "http://localhost:8989";
|
||||
api_key = {
|
||||
_secret = "/run/credentials/recyclarr.service/sonarr-api_key";
|
||||
};
|
||||
}
|
||||
];
|
||||
radarr = [
|
||||
{
|
||||
};
|
||||
};
|
||||
radarr = {
|
||||
radarr-main = {
|
||||
instance_name = "main";
|
||||
base_url = "http://localhost:7878";
|
||||
api_key = {
|
||||
_secret = "/run/credentials/recyclarr.service/radarr-api_key";
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
description = ''
|
||||
Recyclarr YAML configuration as a Nix attribute set.
|
||||
|
||||
@@ -21,7 +21,7 @@ buildDotnetModule (finalAttrs: {
|
||||
projectFile = "Recyclarr.slnx";
|
||||
nugetDeps = ./deps.json;
|
||||
|
||||
prePatch = ''
|
||||
postPatch = ''
|
||||
cat > src/Recyclarr.Core/GitVersionInformation.g.cs <<'EOF'
|
||||
public static class GitVersionInformation
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user