feat: support more options for icon in lualine

This commit is contained in:
Ariel D'Alessandro 2023-12-02 12:21:18 +01:00 committed by Gaétan Lepage
parent a9e37f1f00
commit 935dcfb02e

View file

@ -36,7 +36,7 @@ with lib; let
Enables the display of icons alongside the component.
'';
icon = helpers.mkNullOrOption types.str ''
icon = helpers.mkNullOrOption (types.either types.str helpers.rawType) ''
Defines the icon to be displayed in front of the component.
'';