{ ... }: {
services.earlyoom = {
enableNotifications = true;
freeSwapThreshold = 100;
freeMemThreshold = 5;
enable = true;
};
}