example how to pass options to nix-daemon

svn path=/nixos/trunk/; revision=22286
This commit is contained in:
Marc Weber 2010-06-15 19:04:06 +00:00
parent b1b73f3c08
commit d0fd8da8f0

View File

@ -162,6 +162,10 @@ in
internal = true; internal = true;
default = ""; default = "";
merge = mergeStringOption; merge = mergeStringOption;
example = ''
export NIX_TARGET_LOAD=$(( 3 * $(${pkgs.coreutils}/bin/nproc) / 2 ))
export NIX_MAX_PARALLELIZATION=$NIX_TARGET_LOAD
'';
description = " description = "
Environment variables used by Nix. Environment variables used by Nix.
"; ";