{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/11239","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/11239/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/11239/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/11239/events","html_url":"https://github.com/NixOS/nixpkgs/issues/11239","id":118565164,"number":11239,"title":"Better dconf support, and removal from packages","user":{"login":"lethalman","id":480920,"avatar_url":"https://avatars.githubusercontent.com/u/480920?v=3","gravatar_id":"","url":"https://api.github.com/users/lethalman","html_url":"https://github.com/lethalman","followers_url":"https://api.github.com/users/lethalman/followers","following_url":"https://api.github.com/users/lethalman/following{/other_user}","gists_url":"https://api.github.com/users/lethalman/gists{/gist_id}","starred_url":"https://api.github.com/users/lethalman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lethalman/subscriptions","organizations_url":"https://api.github.com/users/lethalman/orgs","repos_url":"https://api.github.com/users/lethalman/repos","events_url":"https://api.github.com/users/lethalman/events{/privacy}","received_events_url":"https://api.github.com/users/lethalman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/0.kind:%20enhancement","name":"0.kind: enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/6.topic:%20gnome3","name":"6.topic: gnome3","color":"fef2c0"},{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/6.topic:%20nixos","name":"6.topic: nixos","color":"fef2c0"},{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/6.topic:%20non-nixos","name":"6.topic: non-nixos","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-24T09:24:05Z","updated_at":"2015-11-24T12:34:24Z","closed_at":null,"body":"Currently we have some bad experience with dconf:\r\n - Packages hardcode the gio module. This is good because it keeps abi compatibility with the linked glib, however it's also true that gio modules API hasn't seen any change since its first release in version 2.30.\r\n - NixOS modules add `dconf` to the system packages, making it impractical for the user to disable it.\r\n\r\nProposal:\r\n - Remove dconf references from every package.\r\n - Add `services.dconf.enable`, which adds the system package and the `GIO_MODULE` env var.\r\n\r\nThis way we cleanup packages, make it possible for services to `services.dconf.enable = mkDefault true;` and let the user disable it with `services.dconf.enable = false;`.\r\n\r\ncc @vcunat "},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/159254931","html_url":"https://github.com/NixOS/nixpkgs/issues/11239#issuecomment-159254931","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/11239","id":159254931,"user":{"login":"iyzsong","id":803055,"avatar_url":"https://avatars.githubusercontent.com/u/803055?v=3","gravatar_id":"","url":"https://api.github.com/users/iyzsong","html_url":"https://github.com/iyzsong","followers_url":"https://api.github.com/users/iyzsong/followers","following_url":"https://api.github.com/users/iyzsong/following{/other_user}","gists_url":"https://api.github.com/users/iyzsong/gists{/gist_id}","starred_url":"https://api.github.com/users/iyzsong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iyzsong/subscriptions","organizations_url":"https://api.github.com/users/iyzsong/orgs","repos_url":"https://api.github.com/users/iyzsong/repos","events_url":"https://api.github.com/users/iyzsong/events{/privacy}","received_events_url":"https://api.github.com/users/iyzsong/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T12:34:24Z","updated_at":"2015-11-24T12:34:24Z","body":"well, webkitgtk based browsers have hardcoded glib-networking for a long time,\r\nI think other applications are not network-related, so they don't need it."}}