setup distributed builds
This commit is contained in:
@@ -23,8 +23,6 @@
|
||||
kernel.sysctl = {
|
||||
"vm.max_map_count" = 262144;
|
||||
};
|
||||
|
||||
binfmt.emulatedSystems = [ "aarch64-linux" ];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
||||
@@ -1,6 +1,16 @@
|
||||
{ ... }:
|
||||
{
|
||||
nix = {
|
||||
distributedBuilds = true;
|
||||
buildMachines = [
|
||||
{
|
||||
hostName = "freun.dev";
|
||||
maxJobs = 2;
|
||||
protocol = "ssh";
|
||||
sshUser = "builder";
|
||||
system = "aarch64-linux";
|
||||
}
|
||||
];
|
||||
settings = {
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
|
||||
Reference in New Issue
Block a user