summaryrefslogtreecommitdiffstats
path: root/modules/plugins/dashboard/alpha/alpha.nix
blob: 90d02f30260af1e5e1cc73a297549add2989ae0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{lib, ...}: let
  inherit (lib.options) mkEnableOption mkOption;
  inherit (lib.types) listOf attrsOf anything nullOr enum;
in {
  options.vim.dashboard.alpha = {
    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";
    };
  };
}