Optimize nix for parallel builds
This commit is contained in:
@@ -10,6 +10,11 @@
|
|||||||
"flakes"
|
"flakes"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Optimize for parallel building and fetching
|
||||||
|
max-jobs = "auto";
|
||||||
|
cores = 0;
|
||||||
|
http-connections = 50;
|
||||||
|
|
||||||
# RPi builds can be slow due to compiling via binfmt.
|
# RPi builds can be slow due to compiling via binfmt.
|
||||||
download-buffer-size = 1 * 1024 * 1024 * 1024;
|
download-buffer-size = 1 * 1024 * 1024 * 1024;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user