{"action":"created","comment":{"url":"https://api.github.com/repos/rycee/home-manager/pulls/comments/232517281","pull_request_review_id":173729803,"id":232517281,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMjUxNzI4MQ==","diff_hunk":"@@ -0,0 +1,44 @@\n+{ config, lib, pkgs, ... }:\n+\n+with lib;\n+\n+let\n+  cfg = config.programs.afew;\n+  configFile = ''\n+    # Generated by Home Manager.\n+    # See https://afew.readthedocs.io/en/latest/index.html\n+\n+    ${cfg.extraConfig}\n+  '';\n+in\n+{\n+  options.programs.afew = {\n+    enable = mkOption {\n+      type = types.bool;\n+      default = false;\n+      example = true;\n+      description = ''\n+        Whether to enable the Afew initial tagging script for Notmuch.\n+      '';\n+    };\n+\n+    extraConfig = mkOption {\n+      type = types.lines;\n+      default = ''\n+        [SpamFilter]\n+        [KillThreadsFilter]\n+        [ListMailsFilter]\n+        [ArchiveSentMailsFilter]\n+        [InboxFilter]\n+      '';","path":"modules/programs/afew.nix","position":33,"original_position":33,"commit_id":"dae9ff64d0f650d92926c299e08a59b78d37ae06","original_commit_id":"dae9ff64d0f650d92926c299e08a59b78d37ae06","user":{"login":"teto","id":886074,"node_id":"MDQ6VXNlcjg4NjA3NA==","avatar_url":"https://avatars0.githubusercontent.com/u/886074?v=4","gravatar_id":"","url":"https://api.github.com/users/teto","html_url":"https://github.com/teto","followers_url":"https://api.github.com/users/teto/followers","following_url":"https://api.github.com/users/teto/following{/other_user}","gists_url":"https://api.github.com/users/teto/gists{/gist_id}","starred_url":"https://api.github.com/users/teto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teto/subscriptions","organizations_url":"https://api.github.com/users/teto/orgs","repos_url":"https://api.github.com/users/teto/repos","events_url":"https://api.github.com/users/teto/events{/privacy}","received_events_url":"https://api.github.com/users/teto/received_events","type":"User","site_admin":false},"body":"Does this do anything by default ? you could add an \"example\" entry ","created_at":"2018-11-12T01:40:32Z","updated_at":"2018-11-12T01:40:32Z","html_url":"https://github.com/rycee/home-manager/pull/440#discussion_r232517281","pull_request_url":"https://api.github.com/repos/rycee/home-manager/pulls/440","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/rycee/home-manager/pulls/comments/232517281"},"html":{"href":"https://github.com/rycee/home-manager/pull/440#discussion_r232517281"},"pull_request":{"href":"https://api.github.com/repos/rycee/home-manager/pulls/440"}}},"pull_request":{"url":"https://api.github.com/repos/rycee/home-manager/pulls/440","id":229896489,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5ODk2NDg5","html_url":"https://github.com/rycee/home-manager/pull/440","diff_url":"https://github.com/rycee/home-manager/pull/440.diff","patch_url":"https://github.com/rycee/home-manager/pull/440.patch","issue_url":"https://api.github.com/repos/rycee/home-manager/issues/440","number":440,"state":"open","locked":false,"title":"afew: add module","user":{"login":"bsima","id":200617,"node_id":"MDQ6VXNlcjIwMDYxNw==","avatar_url":"https://avatars1.githubusercontent.com/u/200617?v=4","gravatar_id":"","url":"https://api.github.com/users/bsima","html_url":"https://github.com/bsima","followers_url":"https://api.github.com/users/bsima/followers","following_url":"https://api.github.com/users/bsima/following{/other_user}","gists_url":"https://api.github.com/users/bsima/gists{/gist_id}","starred_url":"https://api.github.com/users/bsima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsima/subscriptions","organizations_url":"https://api.github.com/users/bsima/orgs","repos_url":"https://api.github.com/users/bsima/repos","events_url":"https://api.github.com/users/bsima/events{/privacy}","received_events_url":"https://api.github.com/users/bsima/received_events","type":"User","site_admin":false},"body":"[Afew](https://github.com/afewmail/afew) is an initial tagging script for notmuch mail. This module can be used like so:\r\n\r\n```nix\r\n{\r\n  programs.afew = {\r\n    enable = true;\r\n    extraConfig = builtins.readFile ./afew.ini;\r\n  };\r\n}\r\n```\r\n\r\nWhere `afew.ini` is the config file for afew.","created_at":"2018-11-10T15:57:39Z","updated_at":"2018-11-12T01:40:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"761c8a5c4ab9042c218a260a9431c1de70dd0917","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rycee/home-manager/pulls/440/commits","review_comments_url":"https://api.github.com/repos/rycee/home-manager/pulls/440/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/440/comments","statuses_url":"https://api.github.com/repos/rycee/home-manager/statuses/dae9ff64d0f650d92926c299e08a59b78d37ae06","head":{"label":"bsima:afew","ref":"afew","sha":"dae9ff64d0f650d92926c299e08a59b78d37ae06","user":{"login":"bsima","id":200617,"node_id":"MDQ6VXNlcjIwMDYxNw==","avatar_url":"https://avatars1.githubusercontent.com/u/200617?v=4","gravatar_id":"","url":"https://api.github.com/users/bsima","html_url":"https://github.com/bsima","followers_url":"https://api.github.com/users/bsima/followers","following_url":"https://api.github.com/users/bsima/following{/other_user}","gists_url":"https://api.github.com/users/bsima/gists{/gist_id}","starred_url":"https://api.github.com/users/bsima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsima/subscriptions","organizations_url":"https://api.github.com/users/bsima/orgs","repos_url":"https://api.github.com/users/bsima/repos","events_url":"https://api.github.com/users/bsima/events{/privacy}","received_events_url":"https://api.github.com/users/bsima/received_events","type":"User","site_admin":false},"repo":{"id":156904435,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY5MDQ0MzU=","name":"home-manager","full_name":"bsima/home-manager","private":false,"owner":{"login":"bsima","id":200617,"node_id":"MDQ6VXNlcjIwMDYxNw==","avatar_url":"https://avatars1.githubusercontent.com/u/200617?v=4","gravatar_id":"","url":"https://api.github.com/users/bsima","html_url":"https://github.com/bsima","followers_url":"https://api.github.com/users/bsima/followers","following_url":"https://api.github.com/users/bsima/following{/other_user}","gists_url":"https://api.github.com/users/bsima/gists{/gist_id}","starred_url":"https://api.github.com/users/bsima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsima/subscriptions","organizations_url":"https://api.github.com/users/bsima/orgs","repos_url":"https://api.github.com/users/bsima/repos","events_url":"https://api.github.com/users/bsima/events{/privacy}","received_events_url":"https://api.github.com/users/bsima/received_events","type":"User","site_admin":false},"html_url":"https://github.com/bsima/home-manager","description":"Manage a user environment using Nix","fork":true,"url":"https://api.github.com/repos/bsima/home-manager","forks_url":"https://api.github.com/repos/bsima/home-manager/forks","keys_url":"https://api.github.com/repos/bsima/home-manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bsima/home-manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bsima/home-manager/teams","hooks_url":"https://api.github.com/repos/bsima/home-manager/hooks","issue_events_url":"https://api.github.com/repos/bsima/home-manager/issues/events{/number}","events_url":"https://api.github.com/repos/bsima/home-manager/events","assignees_url":"https://api.github.com/repos/bsima/home-manager/assignees{/user}","branches_url":"https://api.github.com/repos/bsima/home-manager/branches{/branch}","tags_url":"https://api.github.com/repos/bsima/home-manager/tags","blobs_url":"https://api.github.com/repos/bsima/home-manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bsima/home-manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bsima/home-manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/bsima/home-manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bsima/home-manager/statuses/{sha}","languages_url":"https://api.github.com/repos/bsima/home-manager/languages","stargazers_url":"https://api.github.com/repos/bsima/home-manager/stargazers","contributors_url":"https://api.github.com/repos/bsima/home-manager/contributors","subscribers_url":"https://api.github.com/repos/bsima/home-manager/subscribers","subscription_url":"https://api.github.com/repos/bsima/home-manager/subscription","commits_url":"https://api.github.com/repos/bsima/home-manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/bsima/home-manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/bsima/home-manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/bsima/home-manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/bsima/home-manager/contents/{+path}","compare_url":"https://api.github.com/repos/bsima/home-manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bsima/home-manager/merges","archive_url":"https://api.github.com/repos/bsima/home-manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bsima/home-manager/downloads","issues_url":"https://api.github.com/repos/bsima/home-manager/issues{/number}","pulls_url":"https://api.github.com/repos/bsima/home-manager/pulls{/number}","milestones_url":"https://api.github.com/repos/bsima/home-manager/milestones{/number}","notifications_url":"https://api.github.com/repos/bsima/home-manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bsima/home-manager/labels{/name}","releases_url":"https://api.github.com/repos/bsima/home-manager/releases{/id}","deployments_url":"https://api.github.com/repos/bsima/home-manager/deployments","created_at":"2018-11-09T18:48:14Z","updated_at":"2018-11-09T18:48:16Z","pushed_at":"2018-11-10T15:57:04Z","git_url":"git://github.com/bsima/home-manager.git","ssh_url":"git@github.com:bsima/home-manager.git","clone_url":"https://github.com/bsima/home-manager.git","svn_url":"https://github.com/bsima/home-manager","homepage":"","size":1158,"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":"05c93ff3ae13f1a2d90a279a890534cda7dc8ad6","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-11-11T06:18:45Z","pushed_at":"2018-11-10T15:57:39Z","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":1156,"stargazers_count":390,"watchers_count":390,"language":"Nix","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":103,"mirror_url":null,"archived":false,"open_issues_count":55,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":103,"open_issues":55,"watchers":390,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rycee/home-manager/pulls/440"},"html":{"href":"https://github.com/rycee/home-manager/pull/440"},"issue":{"href":"https://api.github.com/repos/rycee/home-manager/issues/440"},"comments":{"href":"https://api.github.com/repos/rycee/home-manager/issues/440/comments"},"review_comments":{"href":"https://api.github.com/repos/rycee/home-manager/pulls/440/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/440/commits"},"statuses":{"href":"https://api.github.com/repos/rycee/home-manager/statuses/dae9ff64d0f650d92926c299e08a59b78d37ae06"}},"author_association":"NONE"}}
{"actor":{"display_login":"teto"}}