about summary refs log tree commit diff stats
path: root/modules/by-name/nv/nvim/files/default.nix
blob: ef8afa1a92171d27a226c65a3f9d58469f688819 (plain) (blame)
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}
      '';
    };
  };
}