Skip to content

Commit

Permalink
upgrade nix, limit cores
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Mar 17, 2024
1 parent 63d2fa2 commit cdb0d39
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions common.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
{ pkgs, ... }:

{
nix.package = pkgs.nixVersions.nix_2_16;
nix.settings.cores = 4;
nix.extraOptions = ''
min-free = ${toString (5 * 1024 * 1024 * 1024)}
max-free = ${toString (20 * 1024 * 1024 * 1024)}
'';

environment.systemPackages = with pkgs; [
vim
# zig broken on darwin
Expand Down

0 comments on commit cdb0d39

Please sign in to comment.