Eee: earlyoom, drop disk swap

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rope 2026-09-29 19:24:47 +01:00
parent 5dba1d9271
commit de5e2968e7
2 changed files with 7 additions and 4 deletions

View file

@ -98,8 +98,11 @@ in
# WebKit is the only engine left that handles the modern web.
environment.systemPackages = [ pkgs.epiphany ];
# 1GB RAM: compressed swap in front of the disk swap.
# 1GB RAM: compressed swap only (disk swap is off, see hardware file).
zramSwap.enable = true;
# A heavy page (bbc.co.uk) used to freeze everything; now the biggest
# process (the browser's web process) dies instead.
services.earlyoom.enable = true;
# The NixOS manual is a big from-source build on i686 for a page nobody reads.
documentation.nixos.enable = false;