1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
{ 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} ''; }; }; }