{"action":"created","comment":{"url":"https://api.github.com/repos/LnL7/nix-darwin/pulls/comments/171555316","pull_request_review_id":100426519,"id":171555316,"diff_hunk":"@@ -0,0 +1,16 @@\n+{ config, lib, ... }:\n+\n+with lib;\n+\n+{\n+  options = {\n+\n+    system.defaults.screencapture.location = mkOption {\n+      type = types.string;\n+      default = \"~/Desktop\";","path":"modules/system/defaults/screencapture.nix","position":10,"original_position":10,"commit_id":"93f0692422abe6ce8eed23c38920e854a49a9a3a","original_commit_id":"55f4331e739904ded81ede32117d12301c2cfbaa","user":{"login":"cmacrae","id":3392199,"avatar_url":"https://avatars2.githubusercontent.com/u/3392199?v=4","gravatar_id":"","url":"https://api.github.com/users/cmacrae","html_url":"https://github.com/cmacrae","followers_url":"https://api.github.com/users/cmacrae/followers","following_url":"https://api.github.com/users/cmacrae/following{/other_user}","gists_url":"https://api.github.com/users/cmacrae/gists{/gist_id}","starred_url":"https://api.github.com/users/cmacrae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmacrae/subscriptions","organizations_url":"https://api.github.com/users/cmacrae/orgs","repos_url":"https://api.github.com/users/cmacrae/repos","events_url":"https://api.github.com/users/cmacrae/events{/privacy}","received_events_url":"https://api.github.com/users/cmacrae/received_events","type":"User","site_admin":false},"body":"Sure, makes sense - I agree with that. I'll set a default of `null` then","created_at":"2018-03-01T13:19:52Z","updated_at":"2018-03-01T13:19:52Z","html_url":"https://github.com/LnL7/nix-darwin/pull/71#discussion_r171555316","pull_request_url":"https://api.github.com/repos/LnL7/nix-darwin/pulls/71","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/LnL7/nix-darwin/pulls/comments/171555316"},"html":{"href":"https://github.com/LnL7/nix-darwin/pull/71#discussion_r171555316"},"pull_request":{"href":"https://api.github.com/repos/LnL7/nix-darwin/pulls/71"}},"in_reply_to_id":171103138},"pull_request":{"url":"https://api.github.com/repos/LnL7/nix-darwin/pulls/71","id":171732200,"html_url":"https://github.com/LnL7/nix-darwin/pull/71","diff_url":"https://github.com/LnL7/nix-darwin/pull/71.diff","patch_url":"https://github.com/LnL7/nix-darwin/pull/71.patch","issue_url":"https://api.github.com/repos/LnL7/nix-darwin/issues/71","number":71,"state":"open","locked":false,"title":"defaults: Add screencapture.location","user":{"login":"cmacrae","id":3392199,"avatar_url":"https://avatars2.githubusercontent.com/u/3392199?v=4","gravatar_id":"","url":"https://api.github.com/users/cmacrae","html_url":"https://github.com/cmacrae","followers_url":"https://api.github.com/users/cmacrae/followers","following_url":"https://api.github.com/users/cmacrae/following{/other_user}","gists_url":"https://api.github.com/users/cmacrae/gists{/gist_id}","starred_url":"https://api.github.com/users/cmacrae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmacrae/subscriptions","organizations_url":"https://api.github.com/users/cmacrae/orgs","repos_url":"https://api.github.com/users/cmacrae/repos","events_url":"https://api.github.com/users/cmacrae/events{/privacy}","received_events_url":"https://api.github.com/users/cmacrae/received_events","type":"User","site_admin":false},"body":"Very simple - I don't like cluttering my desktop 😉   \r\nTested and works like a charm: `defaults read com.apple.screencapture location` after customising it and rebuilding shows the new value. And, fortunately, works immediately: new screenshots go to the new specified location, without the need of a `killall SystemUIServer` (as some articles on the web would suggest is necessary).","created_at":"2018-02-27T17:30:02Z","updated_at":"2018-03-01T13:19:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"25811b4aec7a086b02c60688f68792589e2909b6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/LnL7/nix-darwin/pulls/71/commits","review_comments_url":"https://api.github.com/repos/LnL7/nix-darwin/pulls/71/comments","review_comment_url":"https://api.github.com/repos/LnL7/nix-darwin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LnL7/nix-darwin/issues/71/comments","statuses_url":"https://api.github.com/repos/LnL7/nix-darwin/statuses/93f0692422abe6ce8eed23c38920e854a49a9a3a","head":{"label":"cmacrae:master","ref":"master","sha":"93f0692422abe6ce8eed23c38920e854a49a9a3a","user":{"login":"cmacrae","id":3392199,"avatar_url":"https://avatars2.githubusercontent.com/u/3392199?v=4","gravatar_id":"","url":"https://api.github.com/users/cmacrae","html_url":"https://github.com/cmacrae","followers_url":"https://api.github.com/users/cmacrae/followers","following_url":"https://api.github.com/users/cmacrae/following{/other_user}","gists_url":"https://api.github.com/users/cmacrae/gists{/gist_id}","starred_url":"https://api.github.com/users/cmacrae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmacrae/subscriptions","organizations_url":"https://api.github.com/users/cmacrae/orgs","repos_url":"https://api.github.com/users/cmacrae/repos","events_url":"https://api.github.com/users/cmacrae/events{/privacy}","received_events_url":"https://api.github.com/users/cmacrae/received_events","type":"User","site_admin":false},"repo":{"id":123160666,"name":"nix-darwin","full_name":"cmacrae/nix-darwin","owner":{"login":"cmacrae","id":3392199,"avatar_url":"https://avatars2.githubusercontent.com/u/3392199?v=4","gravatar_id":"","url":"https://api.github.com/users/cmacrae","html_url":"https://github.com/cmacrae","followers_url":"https://api.github.com/users/cmacrae/followers","following_url":"https://api.github.com/users/cmacrae/following{/other_user}","gists_url":"https://api.github.com/users/cmacrae/gists{/gist_id}","starred_url":"https://api.github.com/users/cmacrae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmacrae/subscriptions","organizations_url":"https://api.github.com/users/cmacrae/orgs","repos_url":"https://api.github.com/users/cmacrae/repos","events_url":"https://api.github.com/users/cmacrae/events{/privacy}","received_events_url":"https://api.github.com/users/cmacrae/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cmacrae/nix-darwin","description":"nix modules for darwin","fork":true,"url":"https://api.github.com/repos/cmacrae/nix-darwin","forks_url":"https://api.github.com/repos/cmacrae/nix-darwin/forks","keys_url":"https://api.github.com/repos/cmacrae/nix-darwin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cmacrae/nix-darwin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cmacrae/nix-darwin/teams","hooks_url":"https://api.github.com/repos/cmacrae/nix-darwin/hooks","issue_events_url":"https://api.github.com/repos/cmacrae/nix-darwin/issues/events{/number}","events_url":"https://api.github.com/repos/cmacrae/nix-darwin/events","assignees_url":"https://api.github.com/repos/cmacrae/nix-darwin/assignees{/user}","branches_url":"https://api.github.com/repos/cmacrae/nix-darwin/branches{/branch}","tags_url":"https://api.github.com/repos/cmacrae/nix-darwin/tags","blobs_url":"https://api.github.com/repos/cmacrae/nix-darwin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cmacrae/nix-darwin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cmacrae/nix-darwin/git/refs{/sha}","trees_url":"https://api.github.com/repos/cmacrae/nix-darwin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cmacrae/nix-darwin/statuses/{sha}","languages_url":"https://api.github.com/repos/cmacrae/nix-darwin/languages","stargazers_url":"https://api.github.com/repos/cmacrae/nix-darwin/stargazers","contributors_url":"https://api.github.com/repos/cmacrae/nix-darwin/contributors","subscribers_url":"https://api.github.com/repos/cmacrae/nix-darwin/subscribers","subscription_url":"https://api.github.com/repos/cmacrae/nix-darwin/subscription","commits_url":"https://api.github.com/repos/cmacrae/nix-darwin/commits{/sha}","git_commits_url":"https://api.github.com/repos/cmacrae/nix-darwin/git/commits{/sha}","comments_url":"https://api.github.com/repos/cmacrae/nix-darwin/comments{/number}","issue_comment_url":"https://api.github.com/repos/cmacrae/nix-darwin/issues/comments{/number}","contents_url":"https://api.github.com/repos/cmacrae/nix-darwin/contents/{+path}","compare_url":"https://api.github.com/repos/cmacrae/nix-darwin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cmacrae/nix-darwin/merges","archive_url":"https://api.github.com/repos/cmacrae/nix-darwin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cmacrae/nix-darwin/downloads","issues_url":"https://api.github.com/repos/cmacrae/nix-darwin/issues{/number}","pulls_url":"https://api.github.com/repos/cmacrae/nix-darwin/pulls{/number}","milestones_url":"https://api.github.com/repos/cmacrae/nix-darwin/milestones{/number}","notifications_url":"https://api.github.com/repos/cmacrae/nix-darwin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cmacrae/nix-darwin/labels{/name}","releases_url":"https://api.github.com/repos/cmacrae/nix-darwin/releases{/id}","deployments_url":"https://api.github.com/repos/cmacrae/nix-darwin/deployments","created_at":"2018-02-27T17:00:05Z","updated_at":"2018-02-27T17:00:07Z","pushed_at":"2018-02-28T08:29:18Z","git_url":"git://github.com/cmacrae/nix-darwin.git","ssh_url":"git@github.com:cmacrae/nix-darwin.git","clone_url":"https://github.com/cmacrae/nix-darwin.git","svn_url":"https://github.com/cmacrae/nix-darwin","homepage":"","size":861,"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"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"LnL7:master","ref":"master","sha":"e9fc93dab56e3a383db61501beafc0070e120dca","user":{"login":"LnL7","id":689294,"avatar_url":"https://avatars2.githubusercontent.com/u/689294?v=4","gravatar_id":"","url":"https://api.github.com/users/LnL7","html_url":"https://github.com/LnL7","followers_url":"https://api.github.com/users/LnL7/followers","following_url":"https://api.github.com/users/LnL7/following{/other_user}","gists_url":"https://api.github.com/users/LnL7/gists{/gist_id}","starred_url":"https://api.github.com/users/LnL7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LnL7/subscriptions","organizations_url":"https://api.github.com/users/LnL7/orgs","repos_url":"https://api.github.com/users/LnL7/repos","events_url":"https://api.github.com/users/LnL7/events{/privacy}","received_events_url":"https://api.github.com/users/LnL7/received_events","type":"User","site_admin":false},"repo":{"id":71055474,"name":"nix-darwin","full_name":"LnL7/nix-darwin","owner":{"login":"LnL7","id":689294,"avatar_url":"https://avatars2.githubusercontent.com/u/689294?v=4","gravatar_id":"","url":"https://api.github.com/users/LnL7","html_url":"https://github.com/LnL7","followers_url":"https://api.github.com/users/LnL7/followers","following_url":"https://api.github.com/users/LnL7/following{/other_user}","gists_url":"https://api.github.com/users/LnL7/gists{/gist_id}","starred_url":"https://api.github.com/users/LnL7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LnL7/subscriptions","organizations_url":"https://api.github.com/users/LnL7/orgs","repos_url":"https://api.github.com/users/LnL7/repos","events_url":"https://api.github.com/users/LnL7/events{/privacy}","received_events_url":"https://api.github.com/users/LnL7/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LnL7/nix-darwin","description":"nix modules for darwin","fork":false,"url":"https://api.github.com/repos/LnL7/nix-darwin","forks_url":"https://api.github.com/repos/LnL7/nix-darwin/forks","keys_url":"https://api.github.com/repos/LnL7/nix-darwin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LnL7/nix-darwin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LnL7/nix-darwin/teams","hooks_url":"https://api.github.com/repos/LnL7/nix-darwin/hooks","issue_events_url":"https://api.github.com/repos/LnL7/nix-darwin/issues/events{/number}","events_url":"https://api.github.com/repos/LnL7/nix-darwin/events","assignees_url":"https://api.github.com/repos/LnL7/nix-darwin/assignees{/user}","branches_url":"https://api.github.com/repos/LnL7/nix-darwin/branches{/branch}","tags_url":"https://api.github.com/repos/LnL7/nix-darwin/tags","blobs_url":"https://api.github.com/repos/LnL7/nix-darwin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LnL7/nix-darwin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LnL7/nix-darwin/git/refs{/sha}","trees_url":"https://api.github.com/repos/LnL7/nix-darwin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LnL7/nix-darwin/statuses/{sha}","languages_url":"https://api.github.com/repos/LnL7/nix-darwin/languages","stargazers_url":"https://api.github.com/repos/LnL7/nix-darwin/stargazers","contributors_url":"https://api.github.com/repos/LnL7/nix-darwin/contributors","subscribers_url":"https://api.github.com/repos/LnL7/nix-darwin/subscribers","subscription_url":"https://api.github.com/repos/LnL7/nix-darwin/subscription","commits_url":"https://api.github.com/repos/LnL7/nix-darwin/commits{/sha}","git_commits_url":"https://api.github.com/repos/LnL7/nix-darwin/git/commits{/sha}","comments_url":"https://api.github.com/repos/LnL7/nix-darwin/comments{/number}","issue_comment_url":"https://api.github.com/repos/LnL7/nix-darwin/issues/comments{/number}","contents_url":"https://api.github.com/repos/LnL7/nix-darwin/contents/{+path}","compare_url":"https://api.github.com/repos/LnL7/nix-darwin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LnL7/nix-darwin/merges","archive_url":"https://api.github.com/repos/LnL7/nix-darwin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LnL7/nix-darwin/downloads","issues_url":"https://api.github.com/repos/LnL7/nix-darwin/issues{/number}","pulls_url":"https://api.github.com/repos/LnL7/nix-darwin/pulls{/number}","milestones_url":"https://api.github.com/repos/LnL7/nix-darwin/milestones{/number}","notifications_url":"https://api.github.com/repos/LnL7/nix-darwin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LnL7/nix-darwin/labels{/name}","releases_url":"https://api.github.com/repos/LnL7/nix-darwin/releases{/id}","deployments_url":"https://api.github.com/repos/LnL7/nix-darwin/deployments","created_at":"2016-10-16T14:26:46Z","updated_at":"2018-02-27T06:22:32Z","pushed_at":"2018-02-28T19:23:13Z","git_url":"git://github.com/LnL7/nix-darwin.git","ssh_url":"git@github.com:LnL7/nix-darwin.git","clone_url":"https://github.com/LnL7/nix-darwin.git","svn_url":"https://github.com/LnL7/nix-darwin","homepage":"","size":863,"stargazers_count":154,"watchers_count":154,"language":"Nix","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":26,"mirror_url":null,"archived":false,"open_issues_count":18,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":26,"open_issues":18,"watchers":154,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LnL7/nix-darwin/pulls/71"},"html":{"href":"https://github.com/LnL7/nix-darwin/pull/71"},"issue":{"href":"https://api.github.com/repos/LnL7/nix-darwin/issues/71"},"comments":{"href":"https://api.github.com/repos/LnL7/nix-darwin/issues/71/comments"},"review_comments":{"href":"https://api.github.com/repos/LnL7/nix-darwin/pulls/71/comments"},"review_comment":{"href":"https://api.github.com/repos/LnL7/nix-darwin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LnL7/nix-darwin/pulls/71/commits"},"statuses":{"href":"https://api.github.com/repos/LnL7/nix-darwin/statuses/93f0692422abe6ce8eed23c38920e854a49a9a3a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"cmacrae"}}