mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
vivid: change colorMode type to enum
This commit is contained in:
committed by
Austin Horstman
parent
740134d4af
commit
470d24d809
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user