Compare commits

..

No commits in common. "bf06325b6ef1cd9e16452c5b2c70b72ef3376cca" and "904c554f77a87b65c05dc1e1c6ab077de5ecff1d" have entirely different histories.

5 changed files with 4 additions and 37 deletions

View file

@ -1,21 +0,0 @@
# Protect my system from running out of storage or memory
{
# 500GB Storage
nix.settings = {
min-free = 20 * 1024 * 1024 * 1024;
max-free = 50 * 1024 * 1024 * 1024;
};
systemd.services.nix-daemon.serviceConfig = {
MemoryAccounting = true;
MemoryMax = "90%";
OOMScoreAdjust = 500;
};
# 12 Cores, 64 GB RAM
# split into 4 jobs with 3C/16G
nix.settings = {
cores = 3;
max-jobs = 4;
};
}

View file

@ -172,7 +172,6 @@
settings = {
font-size = 12; # sweet spot for framework 13
command = lib.getExe config.programs.fish.package;
mouse-scroll-multiplier = 1;
};
};
kitty = {

View file

@ -10,11 +10,4 @@
MemoryMax = "90%";
OOMScoreAdjust = 500;
};
# 16 Cores, 32 GB RAM
# split into 4 jobs with 4C/8G
nix.settings = {
cores = 2;
max-jobs = 4;
};
}

View file

@ -26,10 +26,10 @@
"flakes"
];
allow-import-from-derivation = true;
keep-build-log = true;
keep-going = true; # Continue even when some fails
keep-outputs = true; # Build time derivations and sources
warn-dirty = false;
keep-outputs = false; # Build time derivations and sources
http-connections = 50; # default: 25
max-substitution-jobs = 32; # default: 16
};
};
}

View file

@ -8,10 +8,6 @@
package = lib.mkDefault pkgs.nix;
settings = {
# Try to have at least 10GB of space by default
min-free = lib.mkDefault (5 * 1024 * 1024 * 1024);
max-free = lib.mkDefault (10 * 1024 * 1024 * 1024);
extra-substituters = [
"https://nix-community.cachix.org"
];