MyNixOS website logo
option

launchd.agents.<name>.launcher.shell

Interpreter for the launcher script used when launchd.agents.<name>.waitForNixStore is disabled.

A launcher script lives in the Nix store either way, so a store-resident interpreter adds no new failure mode. It does change which binary macOS attributes the agent's process to (for example for the privacy prompts that gate access to ~/Desktop and ~/Downloads): with /bin/sh the attribution follows Apple's shell, with a store-resident shell it follows the launcher itself.

Declarations
Type
string
Default
"/bin/sh"
Example
lib.getExe pkgs.bash