/ plugins / conform / default.nix
default.nix
 1  {
 2    inputs,
 3    mkPlugin,
 4    pkgs,
 5    ...
 6  }:
 7  let
 8    inherit (builtins) readFile;
 9  in
10  mkPlugin {
11    name = "conform-nvim";
12    src = inputs.conform-nvim;
13  
14    depends = [ "lspconfig" ];
15  
16    inputs = with pkgs; [
17      beancount
18      cmake-format
19      gofumpt
20      jq
21      nixfmt-rfc-style
22      ruff
23      shellcheck
24      shfmt
25      stylua
26      taplo
27      yq
28    ];
29  
30    config = readFile ./configuration.lua;
31  }