From 4fc9dd3bbb56a0f976733b5169be58820ed5be6f Mon Sep 17 00:00:00 2001 From: Soispha Peetz Date: Thu, 26 Nov 2026 01:07:25 +0100 Subject: modules/nvim: Import all the modules via mkMerge This means that we use only one `lib.mkIf cfg.enable`, so when there is no nixvim module loaded it does not error. --- modules/by-name/nv/nvim/plgs/vim-tex/default.nix | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'modules/by-name/nv/nvim/plgs/vim-tex/default.nix') diff --git a/modules/by-name/nv/nvim/plgs/vim-tex/default.nix b/modules/by-name/nv/nvim/plgs/vim-tex/default.nix index 71422f94..7538540c 100644 --- a/modules/by-name/nv/nvim/plgs/vim-tex/default.nix +++ b/modules/by-name/nv/nvim/plgs/vim-tex/default.nix @@ -7,13 +7,7 @@ # # You should have received a copy of the License along with this program. # If not, see . -{ - config, - lib, - ... -}: let - cfg = config.soispha.programs.nvim; -in { +{lib, ...}: { # TODO: Do I still need this module at all? <2026-01-18> home-manager.users.soispha.programs.nixvim = lib.mkIf false { opts.conceallevel = 0; -- cgit v1.3.1