Escape NIX_PATH
nix function: Check if already installed
New daemon wrapper and pidfile