diff --git a/plugins/statuslines/lualine.nix b/plugins/statuslines/lualine.nix index 48f986c2..b9523049 100644 --- a/plugins/statuslines/lualine.nix +++ b/plugins/statuslines/lualine.nix @@ -36,7 +36,23 @@ with lib; let Enables the display of icons alongside the component. ''; - icon = helpers.mkNullOrOption (with types; either str (attrsOf anything)) '' + icon = helpers.mkNullOrOption + ( + with types; + either + str + (submodule { + freeformType = attrsOf anything; + + options = { + icon = mkOption { + type = str; + description = "Icon character."; + }; + }; + }) + ) + "Defines the icon to be displayed in front of the component."; Defines the icon to be displayed in front of the component. '';