From 91cd091669c469a4ba7f2934d52cdb646e37c0bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 1 Oct 2024 08:52:17 +0200 Subject: [PATCH] zpool: fix default value for cache we want an empty list instead of null --- lib/types/zpool.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/types/zpool.nix b/lib/types/zpool.nix index 24d155a..e534db3 100644 --- a/lib/types/zpool.nix +++ b/lib/types/zpool.nix @@ -79,7 +79,7 @@ in }; cache = lib.mkOption { type = lib.types.listOf lib.types.str; - default = null; + default = []; description = '' A dedicated zfs cache device (L2ARC). See https://openzfs.github.io/openzfs-docs/man/master/7/zpoolconcepts.7.html#Cache_Devices