3
0
Fork 0
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:
Florian Klink 2023-03-09 10:15:56 +01:00 committed by GitHub
commit 2a278943b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {