Skip to content

Commit

Permalink
macos: Add linux-builder for arm builds
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Dec 20, 2024
1 parent b25f72e commit 185bc38
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions configurations/darwin/basantis-Mac-Studio/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ in
self.nixosModules.common
self.darwinModules.default
self.darwinModules.remote-builder
self.darwinModules.aarch64-linux-builder
flake.inputs.agenix.darwinModules.default
flake.inputs.github-nix-ci.darwinModules.default
self.nixosModules.github-runner
Expand Down
18 changes: 18 additions & 0 deletions modules/darwin/aarch64-linux-builder.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
nix = {
linux-builder = {
enable = true;
ephemeral = true;
maxJobs = 4;
config = {
virtualisation = {
darwin-builder = {
diskSize = 80 * 1024;
memorySize = 16 * 1024;
};
cores = 6;
};
};
};
};
}

0 comments on commit 185bc38

Please sign in to comment.