nixos/services.thinkfan: fix all & id (#339084)

This commit is contained in:
Felix Bühler 2024-09-02 22:21:06 +02:00 committed by GitHub
commit 1f34eeb672
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;