diff --git a/nixos/modules/config/zram.nix b/nixos/modules/config/zram.nix index 7b4639d8b1c8..4df646cf2796 100644 --- a/nixos/modules/config/zram.nix +++ b/nixos/modules/config/zram.nix @@ -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.