Complete overhaul of repo structure based on nvix. See https://github.com/niksingh710/nvix Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
26 lines
411 B
Nix
26 lines
411 B
Nix
{ lib, pkgs, ... }:
|
|
{
|
|
plugins = {
|
|
lsp.servers = {
|
|
nil_ls = {
|
|
enable = true;
|
|
};
|
|
|
|
statix = {
|
|
enable = true;
|
|
};
|
|
};
|
|
|
|
conform-nvim.settings = {
|
|
formatters_by_ft = {
|
|
nix = [ "nixfmt-rfc-style" ];
|
|
};
|
|
|
|
formatters = {
|
|
nixfmt-rfc-style = {
|
|
command = "${lib.getExe pkgs.nixfmt-rfc-style}";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|