{ pkgs, ... }: { programs.neovim.plugins = with pkgs.vimPlugins; [ { plugin = alpha-nvim; type = "lua"; config = # lua '' local alpha = require("alpha") local dashboard = require("alpha.themes.dashboard") dashboard.section.header.val = { " ", " ███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗ ", " ████╗ ██║██╔════╝██╔═══██╗██║ ██║██║████╗ ████║ ", " ██╔██╗ ██║█████╗ ██║ ██║██║ ██║██║██╔████╔██║ ", " ██║╚██╗██║██╔══╝ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║ ", " ██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║ ", " ╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝ ", " ", } dashboard.section.header.opts.hl = "Title" dashboard.section.buttons.val = { dashboard.button("n", "󰈔 New file", ":enew"), dashboard.button("e", " Explore", ":Explore"), dashboard.button("g", " Git summary", ":Git | :only"), dashboard.button("c", " Nix config flake", ":e ~/.nix-config/flake.nix"), } alpha.setup(dashboard.opts) vim.keymap.set("n", "h", ":Alpha", { desc = "Open home dashboard" }) ''; } ]; }