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; }