From d0efeaaaef21b66872c69f53d105d01a648648b6 Mon Sep 17 00:00:00 2001 From: Julien Malka Date: Tue, 19 Sep 2023 14:38:52 +0200 Subject: [PATCH] enigma: added epyc as remote builder --- machines/enigma/default.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/machines/enigma/default.nix b/machines/enigma/default.nix index ff8bc71..eacbb87 100644 --- a/machines/enigma/default.nix +++ b/machines/enigma/default.nix @@ -98,6 +98,22 @@ security.polkit.enable = true; + nix = { + package = lib.mkForce pkgs.nix; + distributedBuilds = true; + buildMachines = [ + { + hostName = "epyc.infra.newtype.fr"; + maxJobs = 100; + systems = [ "x86_64-linux" ]; + sshUser = "root"; + sshKey = "/home/julien/.ssh/id_ed25519"; + speedFactor = 2; + } + ]; + }; + + environment.systemPackages = with pkgs; [ tailscale