example how to pass options to nix-daemon
svn path=/nixos/trunk/; revision=22286
This commit is contained in:
parent
b1b73f3c08
commit
d0fd8da8f0
@ -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.
|
||||||
";
|
";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user