Skip to content

Commit 1714bfc

Browse files
committed
vivid: change colorMode type to enum
1 parent c820aae commit 1714bfc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

modules/programs/vivid.nix

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,11 @@ in
3737
enableFishIntegration = mkFishIntegrationOption { inherit config; };
3838

3939
colorMode = mkOption {
40-
type = with types; nullOr str;
41-
default = null;
40+
type = types.enum [
41+
"8-bit"
42+
"24-bit"
43+
];
44+
default = "24-bit";
4245
example = "8-bit";
4346
description = ''
4447
Color mode for vivid.

0 commit comments

Comments
 (0)