{"action":"created","comment":{"url":"https://api.github.com/repos/rycee/home-manager/pulls/comments/240835282","pull_request_review_id":183957239,"id":240835282,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MDgzNTI4Mg==","diff_hunk":"@@ -0,0 +1,68 @@\n+{ config, lib, pkgs, ... }:\n+\n+with lib;\n+\n+let\n+  cfg = config.programs.jq;\n+\n+  colorType = mkOption {\n+    type = types.str;\n+    description = \"ANSI color definition\";\n+    example = \"1;31\";\n+  };\n+\n+  colorsType = types.submodule {\n+    options = {\n+      null    = colorType;\n+      false   = colorType;\n+      true    = colorType;\n+      numbers = colorType;\n+      strings = colorType;\n+      arrays  = colorType;\n+      objects = colorType;\n+    };\n+  };\n+\n+in\n+\n+{\n+  options = {\n+    programs.jq = {\n+      enable = mkEnableOption \"jq command-line JSON processor\";\n+      colors = mkOption {\n+        description = ''\n+          The colors used in colored JSON output.\n+\n+          See <link xlink:href=\"https://stedolan.github.io/jq/manual/#Colors\"/>\n+        '';\n+        example = {","path":"modules/programs/jq.nix","position":38,"original_position":38,"commit_id":"de87659ef9f2fbc4f5bf769158bdc0ffba1e5eee","original_commit_id":"de87659ef9f2fbc4f5bf769158bdc0ffba1e5eee","user":{"login":"rycee","id":798147,"node_id":"MDQ6VXNlcjc5ODE0Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/798147?v=4","gravatar_id":"","url":"https://api.github.com/users/rycee","html_url":"https://github.com/rycee","followers_url":"https://api.github.com/users/rycee/followers","following_url":"https://api.github.com/users/rycee/following{/other_user}","gists_url":"https://api.github.com/users/rycee/gists{/gist_id}","starred_url":"https://api.github.com/users/rycee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rycee/subscriptions","organizations_url":"https://api.github.com/users/rycee/orgs","repos_url":"https://api.github.com/users/rycee/repos","events_url":"https://api.github.com/users/rycee/events{/privacy}","received_events_url":"https://api.github.com/users/rycee/received_events","type":"User","site_admin":false},"body":"You can change this to\r\n```nix\r\n        example = literalExample ''\r\n          {\r\n            null    = \"1;30\";\r\n            false   = \"0;31\";\r\n            true    = \"0;32\";\r\n            numbers = \"0;36\";\r\n            strings = \"0;33\";\r\n            arrays  = \"1;35\";\r\n            objects = \"1;37\";\r\n          }\r\n        '';\r\n```\r\nfor prettier formatting in the documentation.","created_at":"2018-12-11T23:46:24Z","updated_at":"2018-12-11T23:53:47Z","html_url":"https://github.com/rycee/home-manager/pull/489#discussion_r240835282","pull_request_url":"https://api.github.com/repos/rycee/home-manager/pulls/489","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/rycee/home-manager/pulls/comments/240835282"},"html":{"href":"https://github.com/rycee/home-manager/pull/489#discussion_r240835282"},"pull_request":{"href":"https://api.github.com/repos/rycee/home-manager/pulls/489"}}},"pull_request":{"url":"https://api.github.com/repos/rycee/home-manager/pulls/489","id":237136324,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3MTM2MzI0","html_url":"https://github.com/rycee/home-manager/pull/489","diff_url":"https://github.com/rycee/home-manager/pull/489.diff","patch_url":"https://github.com/rycee/home-manager/pull/489.patch","issue_url":"https://api.github.com/repos/rycee/home-manager/issues/489","number":489,"state":"open","locked":false,"title":"jq: add module","user":{"login":"liff","id":124475,"node_id":"MDQ6VXNlcjEyNDQ3NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/124475?v=4","gravatar_id":"","url":"https://api.github.com/users/liff","html_url":"https://github.com/liff","followers_url":"https://api.github.com/users/liff/followers","following_url":"https://api.github.com/users/liff/following{/other_user}","gists_url":"https://api.github.com/users/liff/gists{/gist_id}","starred_url":"https://api.github.com/users/liff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liff/subscriptions","organizations_url":"https://api.github.com/users/liff/orgs","repos_url":"https://api.github.com/users/liff/repos","events_url":"https://api.github.com/users/liff/events{/privacy}","received_events_url":"https://api.github.com/users/liff/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-12-09T15:05:47Z","updated_at":"2018-12-11T23:53:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2e7b9e2a5b03fa30f6ab8ee575f6abd12eeb56b5","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rycee/home-manager/pulls/489/commits","review_comments_url":"https://api.github.com/repos/rycee/home-manager/pulls/489/comments","review_comment_url":"https://api.github.com/repos/rycee/home-manager/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rycee/home-manager/issues/489/comments","statuses_url":"https://api.github.com/repos/rycee/home-manager/statuses/de87659ef9f2fbc4f5bf769158bdc0ffba1e5eee","head":{"label":"liff:module/jq","ref":"module/jq","sha":"de87659ef9f2fbc4f5bf769158bdc0ffba1e5eee","user":{"login":"liff","id":124475,"node_id":"MDQ6VXNlcjEyNDQ3NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/124475?v=4","gravatar_id":"","url":"https://api.github.com/users/liff","html_url":"https://github.com/liff","followers_url":"https://api.github.com/users/liff/followers","following_url":"https://api.github.com/users/liff/following{/other_user}","gists_url":"https://api.github.com/users/liff/gists{/gist_id}","starred_url":"https://api.github.com/users/liff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liff/subscriptions","organizations_url":"https://api.github.com/users/liff/orgs","repos_url":"https://api.github.com/users/liff/repos","events_url":"https://api.github.com/users/liff/events{/privacy}","received_events_url":"https://api.github.com/users/liff/received_events","type":"User","site_admin":false},"repo":{"id":139134611,"node_id":"MDEwOlJlcG9zaXRvcnkxMzkxMzQ2MTE=","name":"home-manager","full_name":"liff/home-manager","private":false,"owner":{"login":"liff","id":124475,"node_id":"MDQ6VXNlcjEyNDQ3NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/124475?v=4","gravatar_id":"","url":"https://api.github.com/users/liff","html_url":"https://github.com/liff","followers_url":"https://api.github.com/users/liff/followers","following_url":"https://api.github.com/users/liff/following{/other_user}","gists_url":"https://api.github.com/users/liff/gists{/gist_id}","starred_url":"https://api.github.com/users/liff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liff/subscriptions","organizations_url":"https://api.github.com/users/liff/orgs","repos_url":"https://api.github.com/users/liff/repos","events_url":"https://api.github.com/users/liff/events{/privacy}","received_events_url":"https://api.github.com/users/liff/received_events","type":"User","site_admin":false},"html_url":"https://github.com/liff/home-manager","description":"Manage a user environment using Nix","fork":true,"url":"https://api.github.com/repos/liff/home-manager","forks_url":"https://api.github.com/repos/liff/home-manager/forks","keys_url":"https://api.github.com/repos/liff/home-manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/liff/home-manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/liff/home-manager/teams","hooks_url":"https://api.github.com/repos/liff/home-manager/hooks","issue_events_url":"https://api.github.com/repos/liff/home-manager/issues/events{/number}","events_url":"https://api.github.com/repos/liff/home-manager/events","assignees_url":"https://api.github.com/repos/liff/home-manager/assignees{/user}","branches_url":"https://api.github.com/repos/liff/home-manager/branches{/branch}","tags_url":"https://api.github.com/repos/liff/home-manager/tags","blobs_url":"https://api.github.com/repos/liff/home-manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/liff/home-manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/liff/home-manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/liff/home-manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/liff/home-manager/statuses/{sha}","languages_url":"https://api.github.com/repos/liff/home-manager/languages","stargazers_url":"https://api.github.com/repos/liff/home-manager/stargazers","contributors_url":"https://api.github.com/repos/liff/home-manager/contributors","subscribers_url":"https://api.github.com/repos/liff/home-manager/subscribers","subscription_url":"https://api.github.com/repos/liff/home-manager/subscription","commits_url":"https://api.github.com/repos/liff/home-manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/liff/home-manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/liff/home-manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/liff/home-manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/liff/home-manager/contents/{+path}","compare_url":"https://api.github.com/repos/liff/home-manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/liff/home-manager/merges","archive_url":"https://api.github.com/repos/liff/home-manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/liff/home-manager/downloads","issues_url":"https://api.github.com/repos/liff/home-manager/issues{/number}","pulls_url":"https://api.github.com/repos/liff/home-manager/pulls{/number}","milestones_url":"https://api.github.com/repos/liff/home-manager/milestones{/number}","notifications_url":"https://api.github.com/repos/liff/home-manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/liff/home-manager/labels{/name}","releases_url":"https://api.github.com/repos/liff/home-manager/releases{/id}","deployments_url":"https://api.github.com/repos/liff/home-manager/deployments","created_at":"2018-06-29T10:10:55Z","updated_at":"2018-06-29T10:10:57Z","pushed_at":"2018-12-09T15:04:59Z","git_url":"git://github.com/liff/home-manager.git","ssh_url":"git@github.com:liff/home-manager.git","clone_url":"https://github.com/liff/home-manager.git","svn_url":"https://github.com/liff/home-manager","homepage":"","size":1178,"stargazers_count":0,"watchers_count":0,"language":"Nix","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rycee:master","ref":"master","sha":"5d63abb473d930a78661a74e26b9f997d7b3ccd6","user":{"login":"rycee","id":798147,"node_id":"MDQ6VXNlcjc5ODE0Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/798147?v=4","gravatar_id":"","url":"https://api.github.com/users/rycee","html_url":"https://github.com/rycee","followers_url":"https://api.github.com/users/rycee/followers","following_url":"https://api.github.com/users/rycee/following{/other_user}","gists_url":"https://api.github.com/users/rycee/gists{/gist_id}","starred_url":"https://api.github.com/users/rycee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rycee/subscriptions","organizations_url":"https://api.github.com/users/rycee/orgs","repos_url":"https://api.github.com/users/rycee/repos","events_url":"https://api.github.com/users/rycee/events{/privacy}","received_events_url":"https://api.github.com/users/rycee/received_events","type":"User","site_admin":false},"repo":{"id":78938149,"node_id":"MDEwOlJlcG9zaXRvcnk3ODkzODE0OQ==","name":"home-manager","full_name":"rycee/home-manager","private":false,"owner":{"login":"rycee","id":798147,"node_id":"MDQ6VXNlcjc5ODE0Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/798147?v=4","gravatar_id":"","url":"https://api.github.com/users/rycee","html_url":"https://github.com/rycee","followers_url":"https://api.github.com/users/rycee/followers","following_url":"https://api.github.com/users/rycee/following{/other_user}","gists_url":"https://api.github.com/users/rycee/gists{/gist_id}","starred_url":"https://api.github.com/users/rycee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rycee/subscriptions","organizations_url":"https://api.github.com/users/rycee/orgs","repos_url":"https://api.github.com/users/rycee/repos","events_url":"https://api.github.com/users/rycee/events{/privacy}","received_events_url":"https://api.github.com/users/rycee/received_events","type":"User","site_admin":false},"html_url":"https://github.com/rycee/home-manager","description":"Manage a user environment using Nix","fork":false,"url":"https://api.github.com/repos/rycee/home-manager","forks_url":"https://api.github.com/repos/rycee/home-manager/forks","keys_url":"https://api.github.com/repos/rycee/home-manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rycee/home-manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rycee/home-manager/teams","hooks_url":"https://api.github.com/repos/rycee/home-manager/hooks","issue_events_url":"https://api.github.com/repos/rycee/home-manager/issues/events{/number}","events_url":"https://api.github.com/repos/rycee/home-manager/events","assignees_url":"https://api.github.com/repos/rycee/home-manager/assignees{/user}","branches_url":"https://api.github.com/repos/rycee/home-manager/branches{/branch}","tags_url":"https://api.github.com/repos/rycee/home-manager/tags","blobs_url":"https://api.github.com/repos/rycee/home-manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rycee/home-manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rycee/home-manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/rycee/home-manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rycee/home-manager/statuses/{sha}","languages_url":"https://api.github.com/repos/rycee/home-manager/languages","stargazers_url":"https://api.github.com/repos/rycee/home-manager/stargazers","contributors_url":"https://api.github.com/repos/rycee/home-manager/contributors","subscribers_url":"https://api.github.com/repos/rycee/home-manager/subscribers","subscription_url":"https://api.github.com/repos/rycee/home-manager/subscription","commits_url":"https://api.github.com/repos/rycee/home-manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/rycee/home-manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/rycee/home-manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/rycee/home-manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/rycee/home-manager/contents/{+path}","compare_url":"https://api.github.com/repos/rycee/home-manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rycee/home-manager/merges","archive_url":"https://api.github.com/repos/rycee/home-manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rycee/home-manager/downloads","issues_url":"https://api.github.com/repos/rycee/home-manager/issues{/number}","pulls_url":"https://api.github.com/repos/rycee/home-manager/pulls{/number}","milestones_url":"https://api.github.com/repos/rycee/home-manager/milestones{/number}","notifications_url":"https://api.github.com/repos/rycee/home-manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rycee/home-manager/labels{/name}","releases_url":"https://api.github.com/repos/rycee/home-manager/releases{/id}","deployments_url":"https://api.github.com/repos/rycee/home-manager/deployments","created_at":"2017-01-14T12:11:06Z","updated_at":"2018-12-11T23:18:49Z","pushed_at":"2018-12-11T23:18:46Z","git_url":"git://github.com/rycee/home-manager.git","ssh_url":"git@github.com:rycee/home-manager.git","clone_url":"https://github.com/rycee/home-manager.git","svn_url":"https://github.com/rycee/home-manager","homepage":"","size":1268,"stargazers_count":414,"watchers_count":414,"language":"Nix","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":124,"mirror_url":null,"archived":false,"open_issues_count":51,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":124,"open_issues":51,"watchers":414,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rycee/home-manager/pulls/489"},"html":{"href":"https://github.com/rycee/home-manager/pull/489"},"issue":{"href":"https://api.github.com/repos/rycee/home-manager/issues/489"},"comments":{"href":"https://api.github.com/repos/rycee/home-manager/issues/489/comments"},"review_comments":{"href":"https://api.github.com/repos/rycee/home-manager/pulls/489/comments"},"review_comment":{"href":"https://api.github.com/repos/rycee/home-manager/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rycee/home-manager/pulls/489/commits"},"statuses":{"href":"https://api.github.com/repos/rycee/home-manager/statuses/de87659ef9f2fbc4f5bf769158bdc0ffba1e5eee"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"rycee"}}