mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-14 21:03:10 +01:00
nix: add fujitsu as remote builder
This commit is contained in:
parent
5c57171c13
commit
35659de96b
|
@ -6,6 +6,7 @@
|
|||
nixpkgs.flake = nixpkgs;
|
||||
};
|
||||
nixPath = lib.mapAttrsToList (key: value: "${key}=${value.to.path}") config.nix.registry;
|
||||
distributedBuilds = true;
|
||||
settings = {
|
||||
auto-optimise-store = true;
|
||||
experimental-features = [ "nix-command" "flakes" "repl-flake" ];
|
||||
|
@ -18,5 +19,27 @@
|
|||
"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
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue