3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/services/system
Naïm Favier a8296e7537
nixos/earlyoom: bring the module up to date (#163663)
* nixos/earlyoom: bring the module up to date

Removes deprecated option `ignoreOOMScoreAdjust`, introduces `killHook`
as a replacement for `notificationsCommand`, and adds an `extraArgs`
option for things not covered by the module.

* nixos/earlyoom: add nixos test

* nixos/earlyoom: add reportInterval

Allows setting the interval for logging a memory report. Defaults to
3600 following upstream
     (https://github.com/rfjakob/earlyoom/blob/master/earlyoom.default#L5)
to avoid flooding logs.

* nixos/earlyoom: add free{Mem,Swap}KillThreshold

Fixes https://github.com/NixOS/nixpkgs/issues/83504
2022-03-24 15:34:09 +08:00
..
cachix-agent Update nixos/modules/services/system/cachix-agent/default.nix 2022-01-18 16:49:18 +01:00
kerberos
cloud-init.nix nixos/cloud-init: fix trivial error that prevents deploy 2022-02-08 08:15:27 -05:00
dbus.nix
earlyoom.nix nixos/earlyoom: bring the module up to date (#163663) 2022-03-24 15:34:09 +08:00
localtime.nix
nscd.conf
nscd.nix
saslauthd.nix
self-deploy.nix nixos/self-deploy: make systemd dependency conditional 2022-02-04 10:59:24 +01:00
systembus-notify.nix nixos/systembus-notify: add support for system services notifying users 2022-03-13 20:21:21 +08:00
uptimed.nix