refactor(core,global): earlyoom from core -> global

This commit is contained in:
Infinidoge 2022-04-01 00:29:24 -04:00
parent e51e5e1cf9
commit e20d7c7157

View file

@ -23,8 +23,13 @@ with lib.hlissner;
# Allow non-root users to allow other users to access mount point
programs.fuse.userAllowOther = mkDefault true;
services = {
# Ensure certain necessary directories always exist
services.ensure.directories = [ "/mnt" ];
ensure.directories = [ "/mnt" ];
# Enable Early Out of Memory service
earlyoom.enable = true;
};
# FIX: command-not-found database doesn't exist normally
system.activationScripts.channels-update.text = ''