···7373 default = 50;
7474 type = types.int;
7575 description = lib.mdDoc ''
7676- Maximum amount of memory that can be used by the zram swap devices
7676+ Maximum total amount of memory that can be stored in the zram swap devices
7777 (as a percentage of your total memory). Defaults to 1/2 of your total
7878- RAM. Run `zramctl` to check how good memory is
7979- compressed.
7878+ RAM. Run `zramctl` to check how good memory is compressed.
7979+ This doesn't define how much memory will be used by the zram swap devices.
8080 '';
8181 };
8282···8484 default = null;
8585 type = with types; nullOr int;
8686 description = lib.mdDoc ''
8787- Maximum total amount of memory (in bytes) that can be used by the zram
8787+ Maximum total amount of memory (in bytes) that can be stored in the zram
8888 swap devices.
8989+ This doesn't define how much memory will be used by the zram swap devices.
8990 '';
9091 };
9192