> 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?

Attachment: signature.asc
Description: PGP signature

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to