lol

sysctl: use literalExample in docs

+3 -4
+3 -4
nixos/modules/config/sysctl.nix
··· 22 22 23 23 boot.kernel.sysctl = mkOption { 24 24 default = {}; 25 - example = { 26 - "net.ipv4.tcp_syncookies" = false; 27 - "vm.swappiness" = 60; 28 - }; 25 + example = literalExample '' 26 + { "net.ipv4.tcp_syncookies" = false; "vm.swappiness" = 60; } 27 + ''; 29 28 type = types.attrsOf sysctlOption; 30 29 description = '' 31 30 Runtime parameters of the Linux kernel, as set by