nixos/services.thinkfan: fix all & id

This commit is contained in:
Felix Buehler 2024-09-02 21:12:56 +02:00
parent cb6c5083a3
commit 0646a0771b

View File

@ -12,7 +12,7 @@ let
tuple = ts: lib.mkOptionType {
name = "tuple";
merge = lib.mergeOneOption;
check = xs: all id (zipListsWith (t: x: t.check x) ts xs);
check = xs: lib.all lib.id (zipListsWith (t: x: t.check x) ts xs);
description = "tuple of" + lib.concatMapStrings (t: " (${t.description})") ts;
};
level = ints.unsigned;