b80769d5ae
svn path=/nixos/trunk/; revision=7308
15 lines
220 B
Nix
15 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
|
|
";
|
|
|
|
}
|