refactor(core,global): earlyoom from core -> global
This commit is contained in:
parent
e51e5e1cf9
commit
e20d7c7157
1 changed files with 7 additions and 2 deletions
|
@ -23,8 +23,13 @@ with lib.hlissner;
|
||||||
# Allow non-root users to allow other users to access mount point
|
# Allow non-root users to allow other users to access mount point
|
||||||
programs.fuse.userAllowOther = mkDefault true;
|
programs.fuse.userAllowOther = mkDefault true;
|
||||||
|
|
||||||
# Ensure certain necessary directories always exist
|
services = {
|
||||||
services.ensure.directories = [ "/mnt" ];
|
# Ensure certain necessary directories always exist
|
||||||
|
ensure.directories = [ "/mnt" ];
|
||||||
|
|
||||||
|
# Enable Early Out of Memory service
|
||||||
|
earlyoom.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
# FIX: command-not-found database doesn't exist normally
|
# FIX: command-not-found database doesn't exist normally
|
||||||
system.activationScripts.channels-update.text = ''
|
system.activationScripts.channels-update.text = ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue