vivid: change colorMode type to enum
This commit is contained in:
parent
740134d4af
commit
470d24d809
1 changed files with 8 additions and 1 deletions
|
|
@ -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 = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue