[Nix-dev] Accessing systemPackages from postStart

2016-01-18 Thread Taeer Bar-Yam
General problem: How do I access command line tools (that are in systemPackages) from some systemd.services..postStart? Specific problem: I want that when mopidy starts up, use mpc to select a playlist and turn on shuffle. However, I am getting an `mpc: command not found` error. I can access

Re: [Nix-dev] Accessing systemPackages from postStart

2016-01-18 Thread Domen Kožar
See http://nixos.org/nixos/manual/options.html#opt-systemd.services._name_.path On Mon, Jan 18, 2016 at 7:35 PM, Taeer Bar-Yam wrote: > General problem: > How do I access command line tools (that are in systemPackages) from > some systemd.services..postStart? > Specific