feat(hermes): enable zram swap to survive nixos-upgrade OOM spikes #29

Open
hermes wants to merge 1 commit from hermes/hermes-zram into main AGit
Contributor

The 8 GiB guest had swapDevices = [ ] and zero swap; the 2026-08-29
nixos-upgrade build hit global OOM (kernel killed nix, total-vm 7.2G).
zram (zstd, 50%) gives the kernel headroom to page out, same shape as
sgx/amd. Merge+deploy by Harald (autoUpgrade timer).

The 8 GiB guest had swapDevices = [ ] and zero swap; the 2026-08-29 nixos-upgrade build hit global OOM (kernel killed nix, total-vm 7.2G). zram (zstd, 50%) gives the kernel headroom to page out, same shape as sgx/amd. Merge+deploy by Harald (autoUpgrade timer).
feat(hermes): enable zram swap to survive nixos-upgrade OOM spikes
All checks were successful
nix flake check / flake-check (pull_request) Successful in 3m59s
8db425f5a0
The 8 GiB guest had swapDevices = [ ] and zero swap; the 2026-08-29
nixos-upgrade build hit global OOM (kernel killed nix, total-vm 7.2G).
zram (zstd, 50%) gives the kernel headroom to page out, same shape as
sgx/amd. Merge+deploy by Harald (autoUpgrade timer).
All checks were successful
nix flake check / flake-check (pull_request) Successful in 3m59s
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin +refs/pull/29/head:hermes/hermes-zram
git switch hermes/hermes-zram
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
harald/nixcfg!29
No description provided.