Merge pull request #215029 from NickCao/zram-fixup

nixos/zram: fix default swapDevices
This commit is contained in:
Nick Cao 2023-02-07 09:23:26 +08:00 committed by GitHub
commit 8a6b4f7678
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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.