Oomd
systemd.oomd.enable
Whether to enable the systemd-oomd
OOM killer.
Type: boolean
Default
true
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/system/boot/systemd/oomd.nix
systemd.oomd.enableRootSlice
Whether to enable oomd on the root slice (-.slice
).
Type: boolean
Default
false
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/system/boot/systemd/oomd.nix
systemd.oomd.enableSystemSlice
Whether to enable oomd on the system slice (system.slice
).
Type: boolean
Default
false
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/system/boot/systemd/oomd.nix
systemd.oomd.enableUserSlices
Whether to enable oomd on all user slices (user@.slice
) and all user owned slices.
Type: boolean
Default
false
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/system/boot/systemd/oomd.nix
systemd.oomd.extraConfig
Extra config options for systemd-oomd
. See {command}man oomd.conf
for available options.
Type: attribute set of (string or signed integer or boolean)
Default
{ }
Example
{ DefaultMemoryPressureDurationSec = "20s"; }
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/system/boot/systemd/oomd.nix