2024-02-26 08:05:23 +03:00
|
|
|
{lib, ...}: let
|
2025-03-10 11:56:50 +03:00
|
|
|
inherit (lib.options) mkEnableOption mkOption;
|
|
|
|
|
inherit (lib.types) listOf attrsOf anything nullOr enum;
|
2023-11-06 17:50:27 -07:00
|
|
|
in {
|
2023-02-27 17:53:09 +03:00
|
|
|
options.vim.dashboard.alpha = {
|
2025-03-10 11:56:50 +03:00
|
|
|
enable = mkEnableOption "fast and fully programmable greeter for neovim [alpha.nvim]";
|
|
|
|
|
theme = mkOption {
|
|
|
|
|
type = nullOr (enum ["dashboard" "startify" "theta"]);
|
|
|
|
|
default = "dashboard";
|
|
|
|
|
description = "Alpha default theme to use";
|
|
|
|
|
};
|
|
|
|
|
layout = mkOption {
|
|
|
|
|
type = listOf (attrsOf anything);
|
|
|
|
|
default = [];
|
|
|
|
|
description = "Alpha dashboard layout";
|
|
|
|
|
};
|
|
|
|
|
opts = mkOption {
|
|
|
|
|
type = attrsOf anything;
|
|
|
|
|
default = {};
|
|
|
|
|
description = "Optional global options";
|
|
|
|
|
};
|
2023-02-27 17:53:09 +03:00
|
|
|
};
|
|
|
|
|
}
|