diff --git a/sets/buildMachines.nix b/sets/buildMachines.nix new file mode 100644 index 0000000..6d69717 --- /dev/null +++ b/sets/buildMachines.nix @@ -0,0 +1,18 @@ +{ config, ... }: + +{ + nix = { + buildMachines = [ + { + hostName = "starlight"; + supportedFeatures = [ "kvm" "big-parallel" "benchmark" "nixos-text" ]; + system = "x86_64-linux"; + maxJobs = 2; + } + ]; + distributedBuilds = true; + extraOptions = '' + builders-use-substitutes = true + ''; + }; +} diff --git a/system/rainbowdash/default.nix b/system/rainbowdash/default.nix index 2ad74f9..9888638 100644 --- a/system/rainbowdash/default.nix +++ b/system/rainbowdash/default.nix @@ -7,6 +7,7 @@ ./hardware-configuration.nix ../../sets/cpu/intel.nix ../../sets/gpu/intel.nix + ../../sets/buildMachines.nix ../../sets/hacking.nix ../../sets/laptop.nix ../../sets/neovim