diff --git a/host/roam/default.nix b/host/roam/default.nix index ecc870c..703ddaa 100644 --- a/host/roam/default.nix +++ b/host/roam/default.nix @@ -21,10 +21,34 @@ _: { }; }; - nix.gc = { - automatic = true; - dates = "weekly"; - options = "--delete-older-than 15d"; + nix = { + buildMachines = [ + { + hostName = "noravm"; + sshUser = "nixremote"; + system = "x86_64-linux"; + protocol = "ssh-ng"; + maxJobs = 10; + speedFactor = 2; + supportedFeatures = [ + "nixos-test" + "benchmark" + "big-parallel" + "kvm" + ]; + mandatoryFeatures = [ ]; + } + ]; + distributedBuilds = true; + extraOptions = '' + builders-use-substitutes = true + ''; + + gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 15d"; + }; }; # ====== DON'T CHANGE ====== diff --git a/host/solo/default.nix b/host/solo/default.nix index 645ef7b..a7ca643 100644 --- a/host/solo/default.nix +++ b/host/solo/default.nix @@ -28,6 +28,30 @@ hd.desktop.enable = true; + nix = { + buildMachines = [ + { + hostName = "noravm"; + sshUser = "nixremote"; + system = "x86_64-linux"; + protocol = "ssh-ng"; + maxJobs = 10; + speedFactor = 2; + supportedFeatures = [ + "nixos-test" + "benchmark" + "big-parallel" + "kvm" + ]; + mandatoryFeatures = [ ]; + } + ]; + distributedBuilds = true; + extraOptions = '' + builders-use-substitutes = true + ''; + }; + # ====== DON'T CHANGE ====== system.stateVersion = "25.05"; }