{ config, ... }: { home.sessionVariables = { MANPAGER = "nvim +Man!"; }; programs.nixvim = { enable = true; defaultEditor = true; withRuby = false; withNodeJs = false; withPython3 = false; nixpkgs.config = config.nixpkgs.config; viAlias = true; vimAlias = true; vimdiffAlias = true; enableMan = false; clipboard.register = "unnamed"; opts = { autoindent = true; number = true; relativenumber = true; shiftwidth = 2; }; globals.mapleader = ","; performance = { byteCompileLua = { enable = true; nvimRuntime = true; plugins = true; }; }; plugins = { cmp = { enable = true; }; blink-cmp = { enable = true; settings = { keymap.preset = "super-tab"; }; }; mini = { enable = true; mockDevIcons = true; modules.icons = { style = "glyph"; }; modules.basics = { }; }; mini-ai = { enable = true; }; friendly-snippets.enable = true; nvim-snippets = { enable = true; settings.friendly_snippets = true; luaConfig.post = '' local capabilities = vim.lsp.protocol.make_client_capabilities() capabilities.textDocument.completion.completionItem.snippetSupport = true vim.lsp.config('cssls', { capabilities = capabilities, }) ''; }; nvim-surround.enable = true; }; }; }