add distibuted builds

This commit is contained in:
Johannes Jöns 2024-02-06 12:13:21 +01:00
parent 861ac2d205
commit df8b8d5f92

View file

@ -45,7 +45,15 @@ in {
hostName = "zap";
protocol = "ssh-ng";
}
{
systems = [ config.nixpkgs.hostPlatform.system ];
supportedFeatures = config.nix.settings.system-features;
speedFactor = 15;
hostName = "localhost";
protocol = "null";
}
];
distributedBuilds = true;
package = pkgs.nixVersions.unstable;
registry = lib.mkForce ((lib.mapAttrs (_: flake: { inherit flake; })) ((lib.filterAttrs (_: lib.isType "flake")) self.inputs) // {
self.flake = self;