mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
0ee31b29ef
svn path=/nixos/trunk/; revision=8025
17 lines
279 B
Nix
17 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
|
|
";
|
|
|
|
}
|