{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/47241","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/47241/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/47241/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/47241/events","html_url":"https://github.com/NixOS/nixpkgs/pull/47241","id":362967855,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3NTI1MDMz","number":47241,"title":"nixos/networking: add hostname to /etc/hosts by default, simplify","user":{"login":"oxij","id":391919,"node_id":"MDQ6VXNlcjM5MTkxOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/391919?v=4","gravatar_id":"","url":"https://api.github.com/users/oxij","html_url":"https://github.com/oxij","followers_url":"https://api.github.com/users/oxij/followers","following_url":"https://api.github.com/users/oxij/following{/other_user}","gists_url":"https://api.github.com/users/oxij/gists{/gist_id}","starred_url":"https://api.github.com/users/oxij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oxij/subscriptions","organizations_url":"https://api.github.com/users/oxij/orgs","repos_url":"https://api.github.com/users/oxij/repos","events_url":"https://api.github.com/users/oxij/events{/privacy}","received_events_url":"https://api.github.com/users/oxij/received_events","type":"User","site_admin":false},"labels":[{"id":737642262,"node_id":"MDU6TGFiZWw3Mzc2NDIyNjI=","url":"https://api.github.com/repos/NixOS/nixpkgs/labels/10.rebuild-darwin:%200","name":"10.rebuild-darwin: 0","color":"eeffee","default":false},{"id":737642408,"node_id":"MDU6TGFiZWw3Mzc2NDI0MDg=","url":"https://api.github.com/repos/NixOS/nixpkgs/labels/10.rebuild-linux:%200","name":"10.rebuild-linux: 0","color":"eeffee","default":false},{"id":60265212,"node_id":"MDU6TGFiZWw2MDI2NTIxMg==","url":"https://api.github.com/repos/NixOS/nixpkgs/labels/6.topic:%20nixos","name":"6.topic: nixos","color":"fef2c0","default":false},{"id":290122884,"node_id":"MDU6TGFiZWwyOTAxMjI4ODQ=","url":"https://api.github.com/repos/NixOS/nixpkgs/labels/8.has:%20module%20(update)","name":"8.has: module (update)","color":"009800","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-09-23T18:58:59Z","updated_at":"2018-09-24T09:48:56Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/47241","html_url":"https://github.com/NixOS/nixpkgs/pull/47241","diff_url":"https://github.com/NixOS/nixpkgs/pull/47241.diff","patch_url":"https://github.com/NixOS/nixpkgs/pull/47241.patch"},"body":"###### Motivation for this change\r\n\r\n#1248 and #36261. This is an alternative simpler implementation of #36261.\r\n\r\nSince `networking.hosts` is properly typed all of that magic `/etc/hosts` generator does on `master` can be dropped. People that disagree with the value of `networking.hosts` can simply `mkForce`.\r\n\r\n###### Things done\r\n\r\n- [X] It evaluates.\r\n- [ ] Tested all my configs to boot.\r\n\r\nDo not merge before 2018-09-30."},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/423923951","html_url":"https://github.com/NixOS/nixpkgs/pull/47241#issuecomment-423923951","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/47241","id":423923951,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzkyMzk1MQ==","user":{"login":"volth","id":508305,"node_id":"MDQ6VXNlcjUwODMwNQ==","avatar_url":"https://avatars3.githubusercontent.com/u/508305?v=4","gravatar_id":"","url":"https://api.github.com/users/volth","html_url":"https://github.com/volth","followers_url":"https://api.github.com/users/volth/followers","following_url":"https://api.github.com/users/volth/following{/other_user}","gists_url":"https://api.github.com/users/volth/gists{/gist_id}","starred_url":"https://api.github.com/users/volth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/volth/subscriptions","organizations_url":"https://api.github.com/users/volth/orgs","repos_url":"https://api.github.com/users/volth/repos","events_url":"https://api.github.com/users/volth/events{/privacy}","received_events_url":"https://api.github.com/users/volth/received_events","type":"User","site_admin":false},"created_at":"2018-09-24T09:48:56Z","updated_at":"2018-09-24T09:48:56Z","author_association":"CONTRIBUTOR","body":"> Nah, mkBefore/mkAfter don't work here\r\n\r\nI guess, the option should have list type"}}
{"actor":{"display_login":"volth"}}