diff options
-rw-r--r-- | nixos/modules/config/zram.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nixos/modules/config/zram.nix b/nixos/modules/config/zram.nix index 7b4639d8b1c..4df646cf279 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. |