sysctl: use literalExample in docs

This commit is contained in:
Anders Papitto 2015-12-30 10:10:39 -08:00
parent cd7612b841
commit 58cc890d2b

View File

@ -22,10 +22,9 @@ in
boot.kernel.sysctl = mkOption { boot.kernel.sysctl = mkOption {
default = {}; default = {};
example = { example = literalExample ''
"net.ipv4.tcp_syncookies" = false; { "net.ipv4.tcp_syncookies" = false; "vm.swappiness" = 60; }
"vm.swappiness" = 60; '';
};
type = types.attrsOf sysctlOption; type = types.attrsOf sysctlOption;
description = '' description = ''
Runtime parameters of the Linux kernel, as set by Runtime parameters of the Linux kernel, as set by