diff options
| -rw-r--r-- | hosts/nepsis/configuration.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/hosts/nepsis/configuration.nix b/hosts/nepsis/configuration.nix index 36dc8b8..d6ec03d 100644 --- a/hosts/nepsis/configuration.nix +++ b/hosts/nepsis/configuration.nix @@ -57,9 +57,31 @@ Host vps Hostname 170.205.37.7 Port 2222 + Host builder + HostName 192.168.1.120 + StrictHostKeyChecking=accept-new + IdentitiesOnly yes + IdentityFile /root/.ssh/nixremote + User nixremote ''; }; + nix.buildMachines = [ + { + hostName = "builder"; + system = "x86_64-linux"; + protocol = "ssh-ng"; + maxJobs = 1; + speedFactor = 2; + supportedFeatures = ["nixos-test" "benchmark" "big-parallel" "kvm"]; + mandatoryFeatures = []; + } + ]; + nix.distributedBuilds = true; + nix.extraOptions = '' + builders-use-substitutes = true + ''; + # Configure network proxy if necessary # networking.proxy.default = "http://user:password@proxy:port/"; # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; |
