We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e821f40 commit dd5e2a0Copy full SHA for dd5e2a0
nixos/modules/config/zram.nix
@@ -26,15 +26,16 @@ in
26
description = ''
27
Enable in-memory compressed swap space provided by the zram kernel
28
module. It is recommended to enable only for kernel 3.14 or higher.
29
+ See https://www.kernel.org/doc/Documentation/blockdev/zram.txt
30
'';
31
};
32
33
numDevices = mkOption {
- default = 4;
34
+ default = 1;
35
type = types.int;
36
37
Number of zram swap devices to create. It should be equal to the
- number of CPU cores your system has.
38
+ number of CPU cores your system has for kernel < v3.15.
39
40
41
0 commit comments