Unverified Commit 6c50da4a authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

nixos/zram: prevent implicitly disabling negative-sized ZRAM (#444426)

parents 8280ee59 af3321b3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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