summaryrefslogtreecommitdiff
path: root/Biz/Dev
diff options
context:
space:
mode:
Diffstat (limited to 'Biz/Dev')
-rw-r--r--Biz/Dev/configuration.nix18
1 files changed, 12 insertions, 6 deletions
diff --git a/Biz/Dev/configuration.nix b/Biz/Dev/configuration.nix
index 4a8839e..e822837 100644
--- a/Biz/Dev/configuration.nix
+++ b/Biz/Dev/configuration.nix
@@ -190,12 +190,18 @@ in {
nixos.enable = true;
};
- # Since this is the dev machine, we can turn these on at the expense of extra
- # disk space.
- nix.extraOptions = ''
- keep-outputs = true
- keep-derivations = true
- '';
+
+ nix = {
+ # 1 job * 2 cores = 2 maximum cores used at any one time
+ maxJobs = 1;
+ buildCores = 2;
+ # Since this is the dev machine, we can turn these on at the expense
+ # of extra disk space.
+ extraOptions = ''
+ keep-outputs = true
+ keep-derivations = true
+ '';
+ };
# This value determines the NixOS release with which your system is to be
# compatible, in order to avoid breaking some software such as database