nixos/zram: fix default swapDevices

This commit is contained in:
Nick Cao 2023-02-07 09:16:16 +08:00
parent 42d1d60a92
commit 341770d3f1
No known key found for this signature in database

View file

@ -32,8 +32,7 @@ in
};
swapDevices = lib.mkOption {
default = 0;
example = 1;
default = 1;
type = lib.types.int;
description = lib.mdDoc ''
Number of zram devices to be used as swap, recommended is 1.