From eb7b41a2a0707483b22842158a59e68774fc4755 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 30 May 2020 02:14:06 +0100 Subject: nix: better defaults settings for maxJobs/buildCores most users just want to use all available cores. This commit aligns our defaults with what we do in NixOS --- modules/examples/lnl.nix | 5 ----- modules/examples/ofborg.nix | 5 ----- modules/examples/simple.nix | 5 ----- 3 files changed, 15 deletions(-) (limited to 'modules/examples') diff --git a/modules/examples/lnl.nix b/modules/examples/lnl.nix index 92efb4b..1345a87 100644 --- a/modules/examples/lnl.nix +++ b/modules/examples/lnl.nix @@ -469,9 +469,4 @@ users.nix.configureBuildUsers = true; users.nix.nrBuildUsers = 32; - - # You should generally set this to the total number of logical cores in your system. - # $ sysctl -n hw.ncpu - nix.maxJobs = 1; - nix.buildCores = 1; } diff --git a/modules/examples/ofborg.nix b/modules/examples/ofborg.nix index 528a8fd..1054c57 100644 --- a/modules/examples/ofborg.nix +++ b/modules/examples/ofborg.nix @@ -26,9 +26,4 @@ with lib; # Used for backwards compatibility, please read the changelog before changing. # $ darwin-rebuild changelog system.stateVersion = 4; - - # You should generally set this to the total number of logical cores in your system. - # $ sysctl -n hw.ncpu - nix.maxJobs = 1; - nix.buildCores = 1; } diff --git a/modules/examples/simple.nix b/modules/examples/simple.nix index 3a60df9..9625e05 100644 --- a/modules/examples/simple.nix +++ b/modules/examples/simple.nix @@ -23,9 +23,4 @@ # Used for backwards compatibility, please read the changelog before changing. # $ darwin-rebuild changelog system.stateVersion = 4; - - # You should generally set this to the total number of logical cores in your system. - # $ sysctl -n hw.ncpu - nix.maxJobs = 1; - nix.buildCores = 1; } -- cgit v1.2.3