mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-11 02:32:37 +08:00
13 lines
312 B
Nix
13 lines
312 B
Nix
{ pkgs, lib, ... }:
|
|
{
|
|
nix = {
|
|
package = lib.mkDefault pkgs.nix;
|
|
enable = true;
|
|
distributedBuilds = true;
|
|
extraOptions = ''
|
|
# Let remote builders download from cache directly.
|
|
# This is to avoid download-cum-copy on main builder.
|
|
builders-use-substitutes = true
|
|
'';
|
|
};
|
|
}
|