diff --git a/applications/pastebin-stream.nix b/applications/pastebin-stream.nix index a60d334..6837adb 100644 --- a/applications/pastebin-stream.nix +++ b/applications/pastebin-stream.nix @@ -8,24 +8,22 @@ in {errorPath, debugMode ? false, rev, sha256}: let - configuration = { - errors = { - directory = errorPath; - }; + configurationFile = createJsonConfiguration { + name = "pastebin-stream-configuration.json"; + contents = { + errors = { + directory = errorPath; + }; - scraperSettings = { - pastebinCom = { - listInterval = 60; - listLimit = 100; - pasteInterval = 1; + scraperSettings = { + pastebinCom = { + listInterval = 60; + listLimit = 100; + pasteInterval = 1; + }; }; }; }; - - configurationFile = createJsonConfiguration { - name = "pastebin-stream-configuration.json"; - contents = configuration; - }; in nodeApplication { name = "pastebin-stream";