This commit is contained in:
Sebastian Moser
2023-11-20 13:49:26 +01:00
parent a18ee1e23c
commit 472e5082e7
5 changed files with 191 additions and 27 deletions

37
common/building.nix Normal file
View File

@@ -0,0 +1,37 @@
{ ... }:
{
nix.buildMachines = [
{
hostName = "hpm";
maxJobs = 8;
speedFactor = 5;
systems = [
"x86_64-linux"
];
}
{
hostName = "acern";
maxJobs = 20;
speedFactor = 10;
systems = [
"x86_64-linux"
];
}
/*
{
hostName = "main";
maxJobs = 4;
systems = [
"x86_64-linux"
];
}
*/
];
nix.settings = {
trusted-public-keys = [
"sebastian@c2vi.dev:0tIXGRJMLaI9H1ZPdU4gh+BikUuBVHtk+e1B5HggdZo="
];
#builders = "@/etc/nix/machines";
trusted-users = [ "me" ];
};
}