alacritty: more-helpful (and trivial-to-eval) description of the theme option

This commit is contained in:
nicoo 2024-04-07 08:58:28 +00:00
parent 9d2fd0077a
commit 6bc7342fbf

View file

@ -27,7 +27,13 @@ in {
attrNames attrNames
(map (removeSuffix ".toml")) (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; default = null;
example = "solarized_dark"; example = "solarized_dark";
description = '' description = ''