nix/module/RemoteBuild.nix

16 lines
360 B
Nix
Raw Normal View History

2024-03-09 18:38:41 +03:00
{ config, pkgs, ... }: {
nix.buildMachines = [{
hostName = "home";
protocol = "ssh-ng";
system = "x86_64-linux";
maxJobs = 1;
speedFactor = 2;
mandatoryFeatures = [ ];
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
}];
nix.distributedBuilds = true;
nix.extraOptions = ''
builders-use-substitutes = true
'';
}