{ config, lib, ... }: let cfg = config.soispha.programs.nvim; in { home-manager.users.soispha.programs.nixvim = lib.mkIf cfg.enable { extraFiles = { "ftplugin/tex.lua".text = '' ${lib.strings.fileContents ./ftplugin/tex.lua} ''; }; }; }