vivid: change colorMode type to enum

This commit is contained in:
Mirza Arnaut
2025-10-21 17:18:53 +02:00
committed by Austin Horstman
parent 740134d4af
commit 470d24d809

View File

@@ -37,7 +37,14 @@ in
enableFishIntegration = mkFishIntegrationOption { inherit config; };
colorMode = mkOption {
type = with types; nullOr str;
type =
with types;
nullOr (
either str (enum [
"8-bit"
"24-bit"
])
);
default = null;
example = "8-bit";
description = ''