forked from mirrors/nixpkgs
b80769d5ae
svn path=/nixos/trunk/; revision=7308
16 lines
220 B
Nix
16 lines
220 B
Nix
{nix}:
|
|
|
|
{
|
|
name = "nix-daemon";
|
|
|
|
job = "
|
|
start on startup
|
|
stop on shutdown
|
|
script
|
|
export NIX_CONF_DIR=/nix/etc/nix
|
|
exec ${nix}/bin/nix-worker --daemon > /dev/null 2>&1
|
|
end script
|
|
";
|
|
|
|
}
|