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