Move pastebin-stream configuration directly into the createJsonConfiguration call

master
Sven Slootweg 7 years ago
parent e717d59a4a
commit 57361fe86a

@ -8,24 +8,22 @@
in in
{errorPath, debugMode ? false, rev, sha256}: {errorPath, debugMode ? false, rev, sha256}:
let let
configuration = { configurationFile = createJsonConfiguration {
errors = { name = "pastebin-stream-configuration.json";
directory = errorPath; contents = {
}; errors = {
directory = errorPath;
};
scraperSettings = { scraperSettings = {
pastebinCom = { pastebinCom = {
listInterval = 60; listInterval = 60;
listLimit = 100; listLimit = 100;
pasteInterval = 1; pasteInterval = 1;
};
}; };
}; };
}; };
configurationFile = createJsonConfiguration {
name = "pastebin-stream-configuration.json";
contents = configuration;
};
in in
nodeApplication { nodeApplication {
name = "pastebin-stream"; name = "pastebin-stream";

Loading…
Cancel
Save