{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/14304","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/14304/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/14304/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/14304/events","html_url":"https://github.com/NixOS/nixpkgs/issues/14304","id":144330948,"number":14304,"title":"syncthing service doesn't work with default settings","user":{"login":"anderspapitto","id":1388690,"avatar_url":"https://avatars.githubusercontent.com/u/1388690?v=3","gravatar_id":"","url":"https://api.github.com/users/anderspapitto","html_url":"https://github.com/anderspapitto","followers_url":"https://api.github.com/users/anderspapitto/followers","following_url":"https://api.github.com/users/anderspapitto/following{/other_user}","gists_url":"https://api.github.com/users/anderspapitto/gists{/gist_id}","starred_url":"https://api.github.com/users/anderspapitto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anderspapitto/subscriptions","organizations_url":"https://api.github.com/users/anderspapitto/orgs","repos_url":"https://api.github.com/users/anderspapitto/repos","events_url":"https://api.github.com/users/anderspapitto/events{/privacy}","received_events_url":"https://api.github.com/users/anderspapitto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-29T17:19:49Z","updated_at":"2016-04-01T18:52:17Z","closed_at":null,"body":"## Basic info\r\n\r\nTo make sure that we are on the same page:\r\n\r\n* Kernel: (run `uname -a`)\r\nLinux gurney 4.5.0 #1-NixOS SMP Mon Mar 14 04:28:54 UTC 2016 x86_64 GNU/Linux\r\n* System: (NixOS: `nixos-version`, Ubuntu/Fedora: `lsb_release -a`, ...)\r\n16.09.git.874c6b1 (Flounder)\r\n* Nix version: (run `nix-env --version`)\r\nnix-env (Nix) 1.11.2\r\n* Nixpkgs version: (run `nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion`)\r\n\"16.09.git.874c6b1\"\r\n\r\n## Describe your issue here\r\nsyncthing service fails when enabled (`sudo systemctl status syncthing`)\r\n\r\n### Expected result\r\nit doesn't fail.\r\n\r\n### Actual result\r\nit fails.\r\n\r\n### Steps to reproduce\r\n\r\nservices.syncthing.enable = true;\r\n\r\nnixos-rebuild switch\r\n\r\n### Note\r\nit works just fine if I set user to be my user and set the dataDir to be in my home directory, which is probably what most people do. However it would be great if those were either required by some asserts, or if the default config worked."},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/204520832","html_url":"https://github.com/NixOS/nixpkgs/issues/14304#issuecomment-204520832","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/14304","id":204520832,"user":{"login":"rnhmjoj","id":2817565,"avatar_url":"https://avatars.githubusercontent.com/u/2817565?v=3","gravatar_id":"","url":"https://api.github.com/users/rnhmjoj","html_url":"https://github.com/rnhmjoj","followers_url":"https://api.github.com/users/rnhmjoj/followers","following_url":"https://api.github.com/users/rnhmjoj/following{/other_user}","gists_url":"https://api.github.com/users/rnhmjoj/gists{/gist_id}","starred_url":"https://api.github.com/users/rnhmjoj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rnhmjoj/subscriptions","organizations_url":"https://api.github.com/users/rnhmjoj/orgs","repos_url":"https://api.github.com/users/rnhmjoj/repos","events_url":"https://api.github.com/users/rnhmjoj/events{/privacy}","received_events_url":"https://api.github.com/users/rnhmjoj/received_events","type":"User","site_admin":false},"created_at":"2016-04-01T18:52:17Z","updated_at":"2016-04-01T18:52:17Z","body":"This can be closed now."}}