1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-01 04:23:34 +02:00

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
(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 = ''