forked from mirrors/nixpkgs
Merge pull request #220232 from aanderse/nixos/systemd-oomd
nixos/systemd-oomd: avoid unintentionally creating the systemd-oomd u…
This commit is contained in:
commit
2a278943b5
|
@ -614,7 +614,7 @@ in
|
|||
|
||||
# Avoid potentially degraded system state due to
|
||||
# "Userspace Out-Of-Memory (OOM) Killer was skipped because of a failed condition check (ConditionControlGroupController=v2)."
|
||||
systemd.services.systemd-oomd.enable = mkIf (!cfg.enableUnifiedCgroupHierarchy) false;
|
||||
systemd.oomd.enable = mkIf (!cfg.enableUnifiedCgroupHierarchy) false;
|
||||
|
||||
services.logrotate.settings = {
|
||||
"/var/log/btmp" = mapAttrs (_: mkDefault) {
|
||||
|
|
Loading…
Reference in a new issue