Re: [Nix-dev] Permission error when installing mpd

2015-02-19 Thread James Cook
Hm, this sounds like a bug actually. Maybe the mkdir is running as mpd but the author of that .nix file expected it to run as root? (Can anyone contradict this?) If you have a moment, please record the error you're seeing when you just use mpd.enable = true, and then file a bug on github. As a

Re: [Nix-dev] Missing documentation

2015-02-19 Thread Roger Qiu
Yes, I think this would be very helpful. On 19/02/2015 10:17 AM, Ertugrul Söylemez ert...@gmx.de wrote: What I want to say is that it might be boring to maintain such a comprehensive help system, but it’s totally worth it, and it’s wonderful that someone volounteers to do that. BTW it would

Re: [Nix-dev] Permission error when installing mpd

2015-02-19 Thread Nikita Karetnikov
Looking at the source (nixos/modules/services/audio/mpd.nix), it looks like the mpd service is designed to run as the mpd user. If you are willing to go with that design, I guess you should not set services.mpd.dataDir, and make sure the mpd user has read access to your music directory. (It

Re: [Nix-dev] Missing documentation

2015-02-19 Thread Eelco Dolstra
Hi, On 18/02/15 20:20, Kirill Elagin wrote: Having short reminders instead of long and verbose man pages is _so much better_. And having context-sensitive help is _absolutely marvelous_. We could improve the current man-based situation in two ways: * Have the synopsis section show the

[Nix-dev] Nvidia driver: no screens found

2015-02-19 Thread Cody Goodman
Below is the Xorg log and my relevant configuration where I attempted to add a screen configuration. I'm using an Asus g46vw with an nvidia gtx 660m. The nvidia driver on Ubuntu trusty worked with it out of the box, but I can't seem to get it to work on nix. # Xorg.0.log [41.267] (II) Open