+20
nixos/modules/config/zram.nix
+20
nixos/modules/config/zram.nix
······zram-size = if cfg.memoryMax != null then "min(${size}, ${toString cfg.memoryMax} / 1024 / 1024)" else size;
+26
-8
nixos/tests/zram-generator.nix
+26
-8
nixos/tests/zram-generator.nix
···