Commit 87d3f150e807

Vincent Demeester <vincent@sbr.pm>
2017-05-13 18:05:44
Set build-cores to 0 to speed builds
It will use all cores when building (`make -jX`) instead of 1. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent de0196d
Changed files (1)
profiles
profiles/default.nix
@@ -40,6 +40,7 @@
 		extraOptions = ''
 		    gc-keep-output = true
 		    connect-timeout = 20
+		    build-cores = 0
 		'';
 	};
 	nixpkgs = {
@@ -59,7 +60,7 @@
 		description = "NixOS Upgrade";
 		unitConfig.X-StopOnRemoval = false;
 		serviceConfig.Type = "oneshot";
-	
+
 		environment = config.nix.envVars //
 		{ inherit (config.environment.sessionVariables) NIX_PATH;
 			HOME = "/root";