diff options
Diffstat (limited to 'modules/remote-build.nix')
-rw-r--r-- | modules/remote-build.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/remote-build.nix b/modules/remote-build.nix new file mode 100644 index 00000000..7c1906f1 --- /dev/null +++ b/modules/remote-build.nix @@ -0,0 +1,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 = []; + }]; +} |