boot.kernel.sysctl
Runtime parameters of the Linux kernel, as set by
sysctl(8). Note that sysctl
parameters names must be enclosed in quotes
(e.g. "vm.swappiness" instead of
vm.swappiness). The value of each
parameter may be a string, integer, boolean, or null
(signifying the option will not appear at all).
- Type
open submodule of attribute set of (sysctl option value)- Default
{ }- Example
{ "net.ipv4.tcp_syncookies" = false; "vm.swappiness" = 60; }- Declared
- <nixpkgs/nixos/modules/config/sysctl.nix>