nixos/zram: prevent implicitly disabling negative-sized ZRAM (#444426)
This commit is contained in:
@@ -49,7 +49,7 @@ in
|
||||
|
||||
memoryPercent = lib.mkOption {
|
||||
default = 50;
|
||||
type = lib.types.int;
|
||||
type = lib.types.ints.positive;
|
||||
description = ''
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user