lazy: allow key mode of str type

This commit is contained in:
Ching Pei Yang 2024-10-22 15:46:04 +02:00
parent 70e988bb33
commit 0397d0722f
No known key found for this signature in database
GPG key ID: 062FBBCE1D0C5DD9

View file

@ -35,7 +35,7 @@
mode = mkOption {
description = "Modes to bind in";
type = listOf str;
type = either str (listOf str);
default = ["n" "x" "s" "o"];
};