mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
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
|
|
";
|
|
|
|
}
|