Files
cnix/home/modules/devtools/neovim/plugins/startify.nix

38 lines
1.4 KiB
Nix

{ lib
, config
, ...
}:
let
inherit (lib) mkEnableOption mkIf;
cfg = config.modules.devtools.neovim.plugins.startify;
in
{
options = {
modules.devtools.neovim.plugins.startify.enable = mkEnableOption "Enables Startify plugin for Neovim";
};
config = mkIf cfg.enable {
programs.nixvim.plugins.startify = {
enable = true;
settings = {
custom_header = [
""
" "
" "
" "
" "
" "
" "
];
change_to_dir = false;
use_unicode = true;
lists = [{ type = "dir"; }];
files_number = 30;
skiplist = [ "flake.lock" ];
};
};
};
}