added remote build user in box

This commit is contained in:
2025-10-02 18:34:55 +03:00
parent 4db8e509fd
commit e466874570
2 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
{ config, pkgs, ... }:
{
nix.buildMachines = [ {
hostName = "builder";
system = "x86_64-linux";
protocol = "ssh-ng";
maxJobs = 1;
speedFactor = 2;
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
mandatoryFeatues = [ ];
} ];
nix.distributedBuilds = true;
nix.extraOptions = ''
builders-use-substitutes = true
'';
}