From 6bc7342fbf758794d343ee2fabe77df8584c3652 Mon Sep 17 00:00:00 2001 From: nicoo Date: Sun, 7 Apr 2024 08:58:28 +0000 Subject: [PATCH] alacritty: more-helpful (and trivial-to-eval) description of the `theme` option --- modules/programs/alacritty.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/programs/alacritty.nix b/modules/programs/alacritty.nix index adc1559e..cea3c4f5 100644 --- a/modules/programs/alacritty.nix +++ b/modules/programs/alacritty.nix @@ -27,7 +27,13 @@ in { attrNames (map (removeSuffix ".toml")) ]; - in with types; nullOr (enum themes); + in with types; + nullOr (enum themes) // { + description = '' + a theme present in [`alacritty-theme`], i.e. its filename without extension + [`alacritty-theme`]: https://github.com/alacritty/alacritty-theme/tree/${pkgs.alacritty-theme.src.rev}/themes + ''; + }; default = null; example = "solarized_dark"; description = ''