[Nix-dev] Permission error when installing mpd
Nikita Karetnikov
nikita at karetnikov.org
Thu Feb 19 10:40:03 CET 2015
> 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 tries to create /home/nikita because that's
> where its dataDir is supposed to go.)
I'm willing to go with anything. I've tried setting just
mpd.enable = true;
but it has a similar permission-related problem.
Could anyone share the configuration that's known to work, so I could
forget about it?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150219/890f144d/attachment.bin
More information about the nix-dev
mailing list