{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/9642","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/9642/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/9642/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/9642/events","html_url":"https://github.com/NixOS/nixpkgs/pull/9642","id":104771424,"number":9642,"title":"Remove desktopManagerHandlesLidAndPower","user":{"login":"Mathnerd314","id":322214,"avatar_url":"https://avatars.githubusercontent.com/u/322214?v=3","gravatar_id":"","url":"https://api.github.com/users/Mathnerd314","html_url":"https://github.com/Mathnerd314","followers_url":"https://api.github.com/users/Mathnerd314/followers","following_url":"https://api.github.com/users/Mathnerd314/following{/other_user}","gists_url":"https://api.github.com/users/Mathnerd314/gists{/gist_id}","starred_url":"https://api.github.com/users/Mathnerd314/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mathnerd314/subscriptions","organizations_url":"https://api.github.com/users/Mathnerd314/orgs","repos_url":"https://api.github.com/users/Mathnerd314/repos","events_url":"https://api.github.com/users/Mathnerd314/events{/privacy}","received_events_url":"https://api.github.com/users/Mathnerd314/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/nixos","name":"nixos","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/NixOS/nixpkgs/milestones/6","html_url":"https://github.com/NixOS/nixpkgs/milestones/15.09","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/milestones/6/labels","id":895513,"number":6,"title":"15.09","description":"","creator":{"login":"domenkozar","id":126339,"avatar_url":"https://avatars.githubusercontent.com/u/126339?v=3","gravatar_id":"","url":"https://api.github.com/users/domenkozar","html_url":"https://github.com/domenkozar","followers_url":"https://api.github.com/users/domenkozar/followers","following_url":"https://api.github.com/users/domenkozar/following{/other_user}","gists_url":"https://api.github.com/users/domenkozar/gists{/gist_id}","starred_url":"https://api.github.com/users/domenkozar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domenkozar/subscriptions","organizations_url":"https://api.github.com/users/domenkozar/orgs","repos_url":"https://api.github.com/users/domenkozar/repos","events_url":"https://api.github.com/users/domenkozar/events{/privacy}","received_events_url":"https://api.github.com/users/domenkozar/received_events","type":"User","site_admin":false},"open_issues":22,"closed_issues":70,"state":"open","created_at":"2014-12-08T10:44:19Z","updated_at":"2015-09-04T09:33:24Z","due_on":"2015-09-09T22:00:00Z","closed_at":null},"comments":7,"created_at":"2015-09-03T20:06:31Z","updated_at":"2015-09-04T09:48:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/9642","html_url":"https://github.com/NixOS/nixpkgs/pull/9642","diff_url":"https://github.com/NixOS/nixpkgs/pull/9642.diff","patch_url":"https://github.com/NixOS/nixpkgs/pull/9642.patch"},"body":"After #9590 my configuration.nix broke:\r\n```\r\n  services.xserver.desktopManager.kde4.enable = true;\r\n  services.xserver.desktopManager.gnome3.enable = true;\r\n\r\nThe option `services.xserver.displayManager.desktopManagerHandlesLidAndPower' has conflicting definitions, in <...>\r\n```\r\nOn further research it seems that no desktop managers need this workaround anymore, because they implemented it themselves:\r\nhttps://bugs.kde.org/show_bug.cgi?id=307412 (both 4 and 5)\r\nhttps://bugzilla.xfce.org/show_bug.cgi?id=11767\r\nhttp://sourceforge.net/p/enlightenment/mailman/message/31299858/\r\nhttps://github.com/xbmc/xbmc/blob/master/xbmc/powermanagement/linux/LogindUPowerSyscall.cpp\r\n\r\nSo just remove it."},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/137692483","html_url":"https://github.com/NixOS/nixpkgs/pull/9642#issuecomment-137692483","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/9642","id":137692483,"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},"created_at":"2015-09-04T09:48:42Z","updated_at":"2015-09-04T09:48:42Z","body":"@vcunat `dontHandleLidAndPower` doesn't make sense for DE handling power... it really has to be the old name, for which we do the systemd-inhibit."}}