diff options
author | Alan Pearce | 2017-10-02 19:59:50 +0200 |
---|---|---|
committer | Alan Pearce | 2017-10-02 19:59:50 +0200 |
commit | 2edba7e1a76d3970bddd9baf6319c0b68b9c9f36 (patch) | |
tree | 52a857a662974ab338c4ec559cbd63a82dca84f3 /modules/remote-build.nix | |
parent | acfa8110cdf4dde9532d33442a4ad18f5a6196c6 (diff) | |
download | nixfiles-2edba7e1a76d3970bddd9baf6319c0b68b9c9f36.tar.lz nixfiles-2edba7e1a76d3970bddd9baf6319c0b68b9c9f36.tar.zst nixfiles-2edba7e1a76d3970bddd9baf6319c0b68b9c9f36.zip |
Laptop: Use remote build server
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 = []; + }]; +} |