From 470d24d80988419ef242f2f48dadc9222300fdef Mon Sep 17 00:00:00 2001 From: Mirza Arnaut Date: Tue, 21 Oct 2025 17:18:53 +0200 Subject: [PATCH] vivid: change colorMode type to enum --- modules/programs/vivid.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/modules/programs/vivid.nix b/modules/programs/vivid.nix index 45738b91f..f4fe80092 100644 --- a/modules/programs/vivid.nix +++ b/modules/programs/vivid.nix @@ -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 = ''