alacritty: more-helpful (and trivial-to-eval) description of the theme
option
This commit is contained in:
parent
9d2fd0077a
commit
6bc7342fbf
|
@ -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 = ''
|
||||||
|
|
Loading…
Reference in a new issue