gaming: force all nix builds to remote media server
max-jobs = 0 sends every build to nordhammer.it instead of compiling locally, so nixos updates never compete with games for resources. builders-use-substitutes lets the server pull from binary caches directly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
83ab64e35b
commit
49c4a93fa8
1 changed files with 7 additions and 0 deletions
|
|
@ -25,6 +25,13 @@
|
|||
woeusb
|
||||
];
|
||||
|
||||
# Force all builds off the gaming PC onto the media server so nix updates
|
||||
# never compete with games for CPU/RAM. Pairs with the distributed build
|
||||
# config in common.nix. builders-use-substitutes lets the server pull from
|
||||
# binary caches directly rather than re-uploading through this machine.
|
||||
nix.settings.max-jobs = 0;
|
||||
nix.settings.builders-use-substitutes = true;
|
||||
|
||||
programs.nix-ld.enable = true;
|
||||
programs.nix-ld.libraries = with pkgs; [
|
||||
stdenv.cc.cc.lib # libstdc++.so.6 — needed by VSCodium extension native addons (e.g. sqlite3 in Continue)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue