nix-managed-macbook/nix.nix

20 lines
425 B
Nix
Raw Normal View History

2022-09-27 13:08:52 +05:30
{ config, pkgs, ... }:
{
nixpkgs.config.allowUnfree = true;
nix.package = pkgs.nixUnstable;
nix.settings = {
2022-10-14 12:38:36 +05:30
experimental-features = [ "nix-command" "flakes" "repl-flake" ];
2022-09-27 13:08:52 +05:30
max-jobs = 6;
cores = 2;
auto-optimise-store = true;
2022-12-11 10:40:06 +05:30
connect-timeout = 5;
log-lines = 25;
min-free = 128000000;
max-free = 1000000000;
fallback = true;
warn-dirty = false;
keep-outputs = true;
2022-09-27 13:08:52 +05:30
};
}