{"action":"created","comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments/57380168","id":57380168,"diff_hunk":"@@ -0,0 +1,37 @@\n+{ config, pkgs, lib, ... }:\n+\n+let\n+  cfg = config.programs.tmux;\n+\n+in\n+{\n+  ###### interface\n+\n+  options = {\n+    programs.tmux = {\n+\n+      enable = lib.mkOption {","path":"nixos/modules/programs/tmux.nix","position":13,"original_position":13,"commit_id":"e7eb304e902dd69322ce1a6058573296d458ebd3","original_commit_id":"e7eb304e902dd69322ce1a6058573296d458ebd3","user":{"login":"jagajaga","id":2179419,"avatar_url":"https://avatars.githubusercontent.com/u/2179419?v=3","gravatar_id":"","url":"https://api.github.com/users/jagajaga","html_url":"https://github.com/jagajaga","followers_url":"https://api.github.com/users/jagajaga/followers","following_url":"https://api.github.com/users/jagajaga/following{/other_user}","gists_url":"https://api.github.com/users/jagajaga/gists{/gist_id}","starred_url":"https://api.github.com/users/jagajaga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jagajaga/subscriptions","organizations_url":"https://api.github.com/users/jagajaga/orgs","repos_url":"https://api.github.com/users/jagajaga/repos","events_url":"https://api.github.com/users/jagajaga/events{/privacy}","received_events_url":"https://api.github.com/users/jagajaga/received_events","type":"User","site_admin":false},"body":"Please use `mkEnableOption`.","created_at":"2016-03-24T20:11:25Z","updated_at":"2016-03-24T20:11:25Z","html_url":"https://github.com/NixOS/nixpkgs/pull/14175#discussion_r57380168","pull_request_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/14175","_links":{"self":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments/57380168"},"html":{"href":"https://github.com/NixOS/nixpkgs/pull/14175#discussion_r57380168"},"pull_request":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/14175"}}},"pull_request":{"url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/14175","id":64037400,"html_url":"https://github.com/NixOS/nixpkgs/pull/14175","diff_url":"https://github.com/NixOS/nixpkgs/pull/14175.diff","patch_url":"https://github.com/NixOS/nixpkgs/pull/14175.patch","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/14175","number":14175,"state":"open","locked":false,"title":"tmux: add nixos program module for tmux","user":{"login":"peterhoeg","id":722550,"avatar_url":"https://avatars.githubusercontent.com/u/722550?v=3","gravatar_id":"","url":"https://api.github.com/users/peterhoeg","html_url":"https://github.com/peterhoeg","followers_url":"https://api.github.com/users/peterhoeg/followers","following_url":"https://api.github.com/users/peterhoeg/following{/other_user}","gists_url":"https://api.github.com/users/peterhoeg/gists{/gist_id}","starred_url":"https://api.github.com/users/peterhoeg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterhoeg/subscriptions","organizations_url":"https://api.github.com/users/peterhoeg/orgs","repos_url":"https://api.github.com/users/peterhoeg/repos","events_url":"https://api.github.com/users/peterhoeg/events{/privacy}","received_events_url":"https://api.github.com/users/peterhoeg/received_events","type":"User","site_admin":false},"body":"An extremely simple program module that allows specifying tmux configuration as it comes with some rather annoying defaults.\r\n\r\nI'm not sure what the policy is on setting defaults for programs, but for now we don't touch them.\r\n\r\n###### Things done:\r\n\r\n- [X] Tested using sandboxing (`nix-build --option build-use-chroot true` or [nix.useChroot](http://nixos.org/nixos/manual/options.html#opt-nix.useChroot) on NixOS)\r\n- Built on platform(s)\r\n   - [X] NixOS\r\n   - [ ] OS X\r\n   - [ ] Linux\r\n- [ ] Tested compilation of all pkgs that depend on this change using `nix-shell -p nox --run \"nox-review wip\"`\r\n- [X] Tested execution of all binary files (usually in `./result/bin/`)\r\n- [X] Fits [CONTRIBUTING.md](https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md).","created_at":"2016-03-24T14:00:11Z","updated_at":"2016-03-24T20:11:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ff109aa0f900c6283615ee45dcefba71ef5984ee","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/14175/commits","review_comments_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/14175/comments","review_comment_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/14175/comments","statuses_url":"https://api.github.com/repos/NixOS/nixpkgs/statuses/e7eb304e902dd69322ce1a6058573296d458ebd3","head":{"label":"peterhoeg:tmux","ref":"tmux","sha":"e7eb304e902dd69322ce1a6058573296d458ebd3","user":{"login":"peterhoeg","id":722550,"avatar_url":"https://avatars.githubusercontent.com/u/722550?v=3","gravatar_id":"","url":"https://api.github.com/users/peterhoeg","html_url":"https://github.com/peterhoeg","followers_url":"https://api.github.com/users/peterhoeg/followers","following_url":"https://api.github.com/users/peterhoeg/following{/other_user}","gists_url":"https://api.github.com/users/peterhoeg/gists{/gist_id}","starred_url":"https://api.github.com/users/peterhoeg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterhoeg/subscriptions","organizations_url":"https://api.github.com/users/peterhoeg/orgs","repos_url":"https://api.github.com/users/peterhoeg/repos","events_url":"https://api.github.com/users/peterhoeg/events{/privacy}","received_events_url":"https://api.github.com/users/peterhoeg/received_events","type":"User","site_admin":false},"repo":{"id":53913648,"name":"nixpkgs","full_name":"peterhoeg/nixpkgs","owner":{"login":"peterhoeg","id":722550,"avatar_url":"https://avatars.githubusercontent.com/u/722550?v=3","gravatar_id":"","url":"https://api.github.com/users/peterhoeg","html_url":"https://github.com/peterhoeg","followers_url":"https://api.github.com/users/peterhoeg/followers","following_url":"https://api.github.com/users/peterhoeg/following{/other_user}","gists_url":"https://api.github.com/users/peterhoeg/gists{/gist_id}","starred_url":"https://api.github.com/users/peterhoeg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterhoeg/subscriptions","organizations_url":"https://api.github.com/users/peterhoeg/orgs","repos_url":"https://api.github.com/users/peterhoeg/repos","events_url":"https://api.github.com/users/peterhoeg/events{/privacy}","received_events_url":"https://api.github.com/users/peterhoeg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/peterhoeg/nixpkgs","description":"Nix Packages collection","fork":true,"url":"https://api.github.com/repos/peterhoeg/nixpkgs","forks_url":"https://api.github.com/repos/peterhoeg/nixpkgs/forks","keys_url":"https://api.github.com/repos/peterhoeg/nixpkgs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/peterhoeg/nixpkgs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/peterhoeg/nixpkgs/teams","hooks_url":"https://api.github.com/repos/peterhoeg/nixpkgs/hooks","issue_events_url":"https://api.github.com/repos/peterhoeg/nixpkgs/issues/events{/number}","events_url":"https://api.github.com/repos/peterhoeg/nixpkgs/events","assignees_url":"https://api.github.com/repos/peterhoeg/nixpkgs/assignees{/user}","branches_url":"https://api.github.com/repos/peterhoeg/nixpkgs/branches{/branch}","tags_url":"https://api.github.com/repos/peterhoeg/nixpkgs/tags","blobs_url":"https://api.github.com/repos/peterhoeg/nixpkgs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/peterhoeg/nixpkgs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/peterhoeg/nixpkgs/git/refs{/sha}","trees_url":"https://api.github.com/repos/peterhoeg/nixpkgs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/peterhoeg/nixpkgs/statuses/{sha}","languages_url":"https://api.github.com/repos/peterhoeg/nixpkgs/languages","stargazers_url":"https://api.github.com/repos/peterhoeg/nixpkgs/stargazers","contributors_url":"https://api.github.com/repos/peterhoeg/nixpkgs/contributors","subscribers_url":"https://api.github.com/repos/peterhoeg/nixpkgs/subscribers","subscription_url":"https://api.github.com/repos/peterhoeg/nixpkgs/subscription","commits_url":"https://api.github.com/repos/peterhoeg/nixpkgs/commits{/sha}","git_commits_url":"https://api.github.com/repos/peterhoeg/nixpkgs/git/commits{/sha}","comments_url":"https://api.github.com/repos/peterhoeg/nixpkgs/comments{/number}","issue_comment_url":"https://api.github.com/repos/peterhoeg/nixpkgs/issues/comments{/number}","contents_url":"https://api.github.com/repos/peterhoeg/nixpkgs/contents/{+path}","compare_url":"https://api.github.com/repos/peterhoeg/nixpkgs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/peterhoeg/nixpkgs/merges","archive_url":"https://api.github.com/repos/peterhoeg/nixpkgs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/peterhoeg/nixpkgs/downloads","issues_url":"https://api.github.com/repos/peterhoeg/nixpkgs/issues{/number}","pulls_url":"https://api.github.com/repos/peterhoeg/nixpkgs/pulls{/number}","milestones_url":"https://api.github.com/repos/peterhoeg/nixpkgs/milestones{/number}","notifications_url":"https://api.github.com/repos/peterhoeg/nixpkgs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/peterhoeg/nixpkgs/labels{/name}","releases_url":"https://api.github.com/repos/peterhoeg/nixpkgs/releases{/id}","deployments_url":"https://api.github.com/repos/peterhoeg/nixpkgs/deployments","created_at":"2016-03-15T04:07:05Z","updated_at":"2016-03-15T04:07:27Z","pushed_at":"2016-03-24T16:21:10Z","git_url":"git://github.com/peterhoeg/nixpkgs.git","ssh_url":"git@github.com:peterhoeg/nixpkgs.git","clone_url":"https://github.com/peterhoeg/nixpkgs.git","svn_url":"https://github.com/peterhoeg/nixpkgs","homepage":null,"size":335129,"stargazers_count":0,"watchers_count":0,"language":"Nix","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"NixOS:master","ref":"master","sha":"f8858c383bea950485e26d712c0862ea13988403","user":{"login":"NixOS","id":487568,"avatar_url":"https://avatars.githubusercontent.com/u/487568?v=3","gravatar_id":"","url":"https://api.github.com/users/NixOS","html_url":"https://github.com/NixOS","followers_url":"https://api.github.com/users/NixOS/followers","following_url":"https://api.github.com/users/NixOS/following{/other_user}","gists_url":"https://api.github.com/users/NixOS/gists{/gist_id}","starred_url":"https://api.github.com/users/NixOS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NixOS/subscriptions","organizations_url":"https://api.github.com/users/NixOS/orgs","repos_url":"https://api.github.com/users/NixOS/repos","events_url":"https://api.github.com/users/NixOS/events{/privacy}","received_events_url":"https://api.github.com/users/NixOS/received_events","type":"Organization","site_admin":false},"repo":{"id":4542716,"name":"nixpkgs","full_name":"NixOS/nixpkgs","owner":{"login":"NixOS","id":487568,"avatar_url":"https://avatars.githubusercontent.com/u/487568?v=3","gravatar_id":"","url":"https://api.github.com/users/NixOS","html_url":"https://github.com/NixOS","followers_url":"https://api.github.com/users/NixOS/followers","following_url":"https://api.github.com/users/NixOS/following{/other_user}","gists_url":"https://api.github.com/users/NixOS/gists{/gist_id}","starred_url":"https://api.github.com/users/NixOS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NixOS/subscriptions","organizations_url":"https://api.github.com/users/NixOS/orgs","repos_url":"https://api.github.com/users/NixOS/repos","events_url":"https://api.github.com/users/NixOS/events{/privacy}","received_events_url":"https://api.github.com/users/NixOS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NixOS/nixpkgs","description":"Nix Packages collection","fork":false,"url":"https://api.github.com/repos/NixOS/nixpkgs","forks_url":"https://api.github.com/repos/NixOS/nixpkgs/forks","keys_url":"https://api.github.com/repos/NixOS/nixpkgs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NixOS/nixpkgs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NixOS/nixpkgs/teams","hooks_url":"https://api.github.com/repos/NixOS/nixpkgs/hooks","issue_events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/events{/number}","events_url":"https://api.github.com/repos/NixOS/nixpkgs/events","assignees_url":"https://api.github.com/repos/NixOS/nixpkgs/assignees{/user}","branches_url":"https://api.github.com/repos/NixOS/nixpkgs/branches{/branch}","tags_url":"https://api.github.com/repos/NixOS/nixpkgs/tags","blobs_url":"https://api.github.com/repos/NixOS/nixpkgs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NixOS/nixpkgs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NixOS/nixpkgs/git/refs{/sha}","trees_url":"https://api.github.com/repos/NixOS/nixpkgs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NixOS/nixpkgs/statuses/{sha}","languages_url":"https://api.github.com/repos/NixOS/nixpkgs/languages","stargazers_url":"https://api.github.com/repos/NixOS/nixpkgs/stargazers","contributors_url":"https://api.github.com/repos/NixOS/nixpkgs/contributors","subscribers_url":"https://api.github.com/repos/NixOS/nixpkgs/subscribers","subscription_url":"https://api.github.com/repos/NixOS/nixpkgs/subscription","commits_url":"https://api.github.com/repos/NixOS/nixpkgs/commits{/sha}","git_commits_url":"https://api.github.com/repos/NixOS/nixpkgs/git/commits{/sha}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/comments{/number}","issue_comment_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments{/number}","contents_url":"https://api.github.com/repos/NixOS/nixpkgs/contents/{+path}","compare_url":"https://api.github.com/repos/NixOS/nixpkgs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NixOS/nixpkgs/merges","archive_url":"https://api.github.com/repos/NixOS/nixpkgs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NixOS/nixpkgs/downloads","issues_url":"https://api.github.com/repos/NixOS/nixpkgs/issues{/number}","pulls_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls{/number}","milestones_url":"https://api.github.com/repos/NixOS/nixpkgs/milestones{/number}","notifications_url":"https://api.github.com/repos/NixOS/nixpkgs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/labels{/name}","releases_url":"https://api.github.com/repos/NixOS/nixpkgs/releases{/id}","deployments_url":"https://api.github.com/repos/NixOS/nixpkgs/deployments","created_at":"2012-06-04T02:49:46Z","updated_at":"2016-03-24T17:39:04Z","pushed_at":"2016-03-24T20:11:12Z","git_url":"git://github.com/NixOS/nixpkgs.git","ssh_url":"git@github.com:NixOS/nixpkgs.git","clone_url":"https://github.com/NixOS/nixpkgs.git","svn_url":"https://github.com/NixOS/nixpkgs","homepage":null,"size":371321,"stargazers_count":993,"watchers_count":993,"language":"Nix","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1328,"mirror_url":null,"open_issues_count":1264,"forks":1328,"open_issues":1264,"watchers":993,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/14175"},"html":{"href":"https://github.com/NixOS/nixpkgs/pull/14175"},"issue":{"href":"https://api.github.com/repos/NixOS/nixpkgs/issues/14175"},"comments":{"href":"https://api.github.com/repos/NixOS/nixpkgs/issues/14175/comments"},"review_comments":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/14175/comments"},"review_comment":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/14175/commits"},"statuses":{"href":"https://api.github.com/repos/NixOS/nixpkgs/statuses/e7eb304e902dd69322ce1a6058573296d458ebd3"}}}}