# nixos-config - My current NixOS configuration # # Copyright (C) 2025 Benedikt Peetz # SPDX-License-Identifier: GPL-3.0-or-later # # This file is part of my nixos-config. # # You should have received a copy of the License along with this program. # If not, see . {pkgs, ...}: { home-manager.users.soispha.programs.nixvim = { # TODO: package ltex_extra though a module extraPlugins = [ (pkgs.vimPlugins.ltex_extra-nvim.overrideAttrs (final: prev: { patches = (prev.patches or []) ++ [ ./0001-ltex_extra-commands-lsp.lua-Also-support-ltex-plus-a.patch ]; })) ]; plugins.lsp.servers.ltex_plus.onAttach.function = builtins.readFile ./lua/ltex_extra.lua; }; }