nixpkgs/upstart-jobs/nix-daemon.nix

14 lines
190 B
Nix
Raw Normal View History

{nix}:
{
name = "nix-daemon";
job = "
start on startup
stop on shutdown
env NIX_CONF_DIR=/nix/etc/nix
respawn ${nix}/bin/nix-worker --daemon > /dev/null 2>&1
";
}