Skip to content

Commit

Permalink
Give linux-builder more resources
Browse files Browse the repository at this point in the history
  • Loading branch information
malob committed Sep 27, 2023
1 parent edf9ca4 commit 0377841
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,16 @@
];
nix.registry.my.flake = inputs.self;
};
extraModules = singleton { nix.linux-builder.enable = true; };
extraModules = singleton {
nix.linux-builder.enable = true;
nix.linux-builder.maxJobs = 8;
nix.linux-builder.modules = [
({
virtualisation.darwin-builder.memorySize = 16 * 1024;
virtualisation.cores = 8;
})
];
};
inherit homeStateVersion;
homeModules = attrValues self.homeManagerModules;
});
Expand Down

0 comments on commit 0377841

Please sign in to comment.