{"action":"opened","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/21332","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/21332/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/21332/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/21332/events","html_url":"https://github.com/NixOS/nixpkgs/issues/21332","id":196921227,"number":21332,"title":"`programs.ssh.forwardX11` vs `services.openssh.forwardX11`","user":{"login":"danbst","id":743057,"avatar_url":"https://avatars.githubusercontent.com/u/743057?v=3","gravatar_id":"","url":"https://api.github.com/users/danbst","html_url":"https://github.com/danbst","followers_url":"https://api.github.com/users/danbst/followers","following_url":"https://api.github.com/users/danbst/following{/other_user}","gists_url":"https://api.github.com/users/danbst/gists{/gist_id}","starred_url":"https://api.github.com/users/danbst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danbst/subscriptions","organizations_url":"https://api.github.com/users/danbst/orgs","repos_url":"https://api.github.com/users/danbst/repos","events_url":"https://api.github.com/users/danbst/events{/privacy}","received_events_url":"https://api.github.com/users/danbst/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-21T12:29:35Z","updated_at":"2016-12-21T12:29:35Z","closed_at":null,"body":"## Issue description\r\n\r\nI've added `programs.ssh.forwardX11` to my config, but rebuild showed a warning:\r\n```\r\nFailed assertions:\r\n- cannot enable X11 forwarding without setting XAuth location\r\nerror: unable to build all machine configurations\r\n```\r\nThe trick is, `programs.ssh.setXAuthLocation` is already `true`.\r\n\r\nAt first I thought that module system is broken somewhere, but then I stumbled into `services.openssh.forwardX11` (system builds with it). Is `programs.ssh.forwardX11` deprecated?\r\n\r\n### Steps to reproduce\r\n\r\nAdd `programs.ssh.forwardX11 = true;` to config, observe system doesn't build.\r\n\r\n## Technical details\r\n\r\n* System: NixOS 16.09\r\n"}}
{"actor":{"display_login":"danbst"}}