0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-12 05:16:25 +03:00

zram module: rewording documentation to avoid misconception

This commit is contained in:
Solène Rapenne 2022-08-31 15:15:02 +02:00
parent c476f232a6
commit 23264904d8

View file

@ -73,10 +73,10 @@ in
default = 50; default = 50;
type = types.int; type = types.int;
description = lib.mdDoc '' description = lib.mdDoc ''
Maximum amount of memory that can be used by the zram swap devices Maximum total amount of memory that can be stored in the zram swap devices
(as a percentage of your total memory). Defaults to 1/2 of your total (as a percentage of your total memory). Defaults to 1/2 of your total
RAM. Run `zramctl` to check how good memory is RAM. Run `zramctl` to check how good memory is compressed.
compressed. This doesn't define how much memory will be used by the zram swap devices.
''; '';
}; };
@ -84,8 +84,9 @@ in
default = null; default = null;
type = with types; nullOr int; type = with types; nullOr int;
description = lib.mdDoc '' description = lib.mdDoc ''
Maximum total amount of memory (in bytes) that can be used by the zram Maximum total amount of memory (in bytes) that can be stored in the zram
swap devices. swap devices.
This doesn't define how much memory will be used by the zram swap devices.
''; '';
}; };