all repos — nixfiles @ 2edba7e1a76d3970bddd9baf6319c0b68b9c9f36

System and user configuration, managed by nix and home-manager

modules/remote-build.nix (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
{ config, pkgs, ... }:

{ nix.distributedBuilds = true;
  nix.buildMachines = [{
    hostName = "oak.alanpearce.eu";
    sshUser = "nix-ssh";
    sshKey = "/root/.ssh/id_ed25519";
    system = "x86_64-linux";
    maxJobs = 2;
    supportedFeatures = ["kvm"];
    mandatoryFeatures = [];
  }];
}