summary refs log tree commit diff stats
path: root/modules/remote-build.nix
blob: 7c1906f1833b679badafbd2df9f27739ce84eea6 (plain)
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 = [];
  }];
}