From 620fe9013459c52b8eaedc1bf88ef7ef1c848bae Mon Sep 17 00:00:00 2001 From: Tao Tien <29749622+taotien@users.noreply.github.com> Date: Sat, 8 Mar 2025 22:09:05 -0800 Subject: [PATCH] nomom dist build --- systems/NOmom.nix | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/systems/NOmom.nix b/systems/NOmom.nix index ab5aea7..2604e06 100644 --- a/systems/NOmom.nix +++ b/systems/NOmom.nix @@ -75,5 +75,34 @@ # boot.kernel.sysctl."net.ipv4.ip_forward" = "1"; # boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = "1"; + nix.buildMachines = [ + { + hostName = "nocomputer"; + systems = ["x86_64-linux" "i686-linux"]; + supportedFeatures = [ + "benchmark" + "big-parallel" + "gccarch-znver4" + "kvm" + "nixos-test" + ]; + } + { + hostName = "nolaptop"; + systems = ["x86_64-linux" "i686-linux"]; + supportedFeatures = [ + "benchmark" + "big-parallel" + "gccarch-znver4" + "kvm" + "nixos-test" + ]; + } + ]; + nix.extraOptions = '' + builders-use-substitutes = true + ''; + nix.distributedBuilds = true; + networking.hostName = "NOmom"; }