mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
0ee31b29ef
svn path=/nixos/trunk/; revision=8025
18 lines
279 B
Nix
18 lines
279 B
Nix
{nix, openssl}:
|
|
|
|
{
|
|
name = "nix-daemon";
|
|
|
|
job = "
|
|
start on startup
|
|
stop on shutdown
|
|
env NIX_CONF_DIR=/nix/etc/nix
|
|
respawn
|
|
script
|
|
export PATH=${openssl}/bin:$PATH
|
|
exec ${nix}/bin/nix-worker --daemon > /dev/null 2>&1
|
|
end script
|
|
";
|
|
|
|
}
|