nix: add fujitsu as remote builder

This commit is contained in:
Rouven Seifert 2024-06-27 12:07:02 +02:00
parent 5c57171c13
commit 35659de96b

View file

@ -6,6 +6,7 @@
nixpkgs.flake = nixpkgs; nixpkgs.flake = nixpkgs;
}; };
nixPath = lib.mapAttrsToList (key: value: "${key}=${value.to.path}") config.nix.registry; nixPath = lib.mapAttrsToList (key: value: "${key}=${value.to.path}") config.nix.registry;
distributedBuilds = true;
settings = { settings = {
auto-optimise-store = true; auto-optimise-store = true;
experimental-features = [ "nix-command" "flakes" "repl-flake" ]; experimental-features = [ "nix-command" "flakes" "repl-flake" ];
@ -18,5 +19,27 @@
"cache.ifsr.de:y55KBAMF4YkjIzXwYOKVk9fcQS+CZ9RM1zAAMYQJtsg=" "cache.ifsr.de:y55KBAMF4YkjIzXwYOKVk9fcQS+CZ9RM1zAAMYQJtsg="
]; ];
}; };
buildMachines = [
# {
# hostName = "quitte.ifsr.de";
# sshUser = "rouven.seifert";
# system = "x86_64-linux";
# protocol = "ssh-ng";
# supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
# maxJobs = 4;
# speedFactor = 10;
# }
{
hostName = "fujitsu.vpn.rfive.de";
system = "x86_64-linux";
protocol = "ssh-ng";
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
maxJobs = 4;
speedFactor = 5;
}
];
extraOptions = ''
builders-use-substitutes = true
'';
}; };
} }