installer: enable earlyoom

This commit is contained in:
Primrose 2025-11-24 17:15:51 +08:00
parent a57af732e9
commit b3c6744da5
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA

View file

@ -70,4 +70,8 @@
boot.extraModprobeConfig = ''
options cfg80211 ieee80211_regdom="US"
'';
# If we run out of memory during building, the machine would hang, and that sucks.
# Nothing worse than restarting the installation from scratch
services.earlyoom.enable = true;
}