diff --git a/morph/lib/issuer-aws.nix b/morph/lib/issuer-aws.nix index 7455a4375186ec4cf01947d4efc77d5ab9adceff..afda7930ee7dce8faf1d85045f2b379384d3c48d 100644 --- a/morph/lib/issuer-aws.nix +++ b/morph/lib/issuer-aws.nix @@ -42,4 +42,8 @@ # Turn on automatic optimization of nix store # https://nixos.wiki/wiki/Storage_optimization nix.settings.auto-optimise-store = true; + + # Most of the time, we have ample free & usable memory, but when upgrading + # software, we sometimes run out because of Nix. This is supposed to help: + zramSwap.enable = true; }