Remove nil memory limit

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-01-06 08:55:31 +02:00
parent f8e94f146b
commit 652040d7d8
2 changed files with 3 additions and 1 deletions

View File

@@ -4,6 +4,8 @@
}:
{ ... }:
{
environment.persistence."/cache"."${home}/.cache/nix" = { };
home-manager.users.${user}.programs.zsh.shellAliases = {
nrs = "sudo nixos-rebuild switch --flake .#$(hostname) --show-trace";
nrb = "sudo nixos-rebuild boot --flake .#$(hostname) --show-trace";

View File

@@ -13,7 +13,7 @@
"--"
];
nix = {
maxMemoryMB = 4096;
maxMemoryMB = null;
flake = {
autoArchive = true;
autoEvalInputs = true;