From c867dd3ea21816e69de08088385d0d9246433765 Mon Sep 17 00:00:00 2001 From: Stefan Weigl-Bosker Date: Mon, 24 Feb 2025 12:08:53 -0500 Subject: fixed nixGL wrapper --- modules/nvim/default.nix | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 modules/nvim/default.nix (limited to 'modules/nvim/default.nix') diff --git a/modules/nvim/default.nix b/modules/nvim/default.nix deleted file mode 100644 index 54f9d53..0000000 --- a/modules/nvim/default.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ config, lib, pkgs, ...}: -let - cfg = config.modules.nvim; - lua = str: "lua << EOF\n${str}\nEOF\n"; - luaImport = file: "lua << EOF\n${builtins.readFile file}\nEOF\n"; -in -{ - options.modules.nvim = { - }; - - config = { - programs.neovim = { - enable = true; - defaultEditor = true; - viAlias = true; - vimAlias = true; - vimdiffAlias = true; - plugins = with pkgs.vimPlugins; [ - { - plugin = nvim-lspconfig; - config = let - servers = [ - { name = "clangd"; } - ]; - in lua(pkgs.lib.strings.concatStrings (pkgs.lib.lists.forEach servers (s: "require('lspconfig')['${s.name}'].setup(${s.config or "{}"})\n"))); - } - - (nvim-treesitter.withPlugins (p: with p; [ - tree-sitter-nix - tree-sitter-c - tree-sitter-lua - tree-sitter-zig - tree-sitter-markdown - tree-sitter-markdown-inline - ])) - - base16-nvim - telescope-nvim - telescope-fzf-native-nvim - ]; - extraLuaConfig = '' - ${builtins.readFile ./settings.lua} - ${builtins.readFile ./keybinds.lua} - ''; - }; - }; -} -- cgit v1.2.3