{ ... }: { programs.nixvim.plugins.alpha = { enable = true; layout = [ { type = "padding"; val = 4; } { opts = { hl = "AlphaHeader"; position = "center"; }; type = "text"; val = [ " ▄▄▄█████▓ ▒█████ ███▄ ▄███▓ " " ▓ ██▒ ▓▒▒██▒ ██▒▓██▒▀█▀ ██▒ " " ▒ ▓██░ ▒░▒██░ ██▒▓██ ▓██░ " " ░ ▓██▓ ░ ▒██ ██░▒██ ▒██ " " ▒██▒ ░ ░ ████▓▒░▒██▒ ░██▒ " " ▒ ░░ ░ ▒░▒░▒░ ░ ▒░ ░ ░ " " ░ ░ ▒ ▒░ ░ ░ ░ " " ░ ░ ░ ░ ▒ ░ ░ " " ░ ░ ░ " " " " git@github.com:TomJuri " ]; } { type = "padding"; val = 2; } { type = "group"; val = let mkButton = shortcut: cmd: val: hl: { type = "button"; inherit val; opts = { inherit hl shortcut; keymap = [ "n" shortcut cmd {} ]; position = "center"; cursor = 0; width = 40; align_shortcut = "right"; hl_shortcut = "Keyword"; }; }; in [ ( mkButton "f" "lua require('telescope.builtin').find_files({hidden = true})" "🔍 Find File" "Operator" ) ( mkButton "q" "qa" "💣 Quit" "String" ) ]; } { type = "padding"; val = 2; } ]; }; }