From b3c6744da5d18d742d31462b25ef9b463e677fe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Mon, 24 Nov 2025 17:15:51 +0800 Subject: [PATCH] installer: enable earlyoom --- nix/configurations/installer.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nix/configurations/installer.nix b/nix/configurations/installer.nix index c821744a..e77b99ad 100644 --- a/nix/configurations/installer.nix +++ b/nix/configurations/installer.nix @@ -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; }