69 lines
1.5 KiB
Nix
69 lines
1.5 KiB
Nix
{ pkgs, nvf, ... }:
|
|
{
|
|
imports = [ nvf.homeManagerModules.default ];
|
|
|
|
home.packages = with pkgs; [
|
|
alejandra
|
|
nil
|
|
statix
|
|
deadnix
|
|
];
|
|
|
|
programs.nvf = {
|
|
enable = true;
|
|
settings = {
|
|
vim = {
|
|
opts = {
|
|
tabstop = 2;
|
|
shiftwidth = 0;
|
|
};
|
|
clipboard = {
|
|
enable = true;
|
|
providers.wl-copy.enable = true;
|
|
};
|
|
lsp = {
|
|
enable = true;
|
|
formatOnSave = true;
|
|
inlayHints.enable = true;
|
|
trouble.enable = true;
|
|
};
|
|
treesitter = {
|
|
enable = true;
|
|
context.enable = true;
|
|
indent.enable = true;
|
|
grammars = with pkgs.vimPlugins.nvim-treesitter-parsers; [
|
|
yuck
|
|
];
|
|
};
|
|
diagnostics = {
|
|
enable = true;
|
|
config.virtual_text = true;
|
|
};
|
|
languages = {
|
|
nix = {
|
|
enable = true;
|
|
extraDiagnostics.enable = true;
|
|
lsp = {
|
|
enable = true;
|
|
servers = [ "nil" ];
|
|
};
|
|
treesitter.enable = true;
|
|
format = {
|
|
enable = true;
|
|
type = [ "alejandra" ];
|
|
};
|
|
};
|
|
};
|
|
theme = {
|
|
enable = true;
|
|
name = "catppuccin";
|
|
style = "mocha";
|
|
transparent = true;
|
|
};
|
|
statusline.lualine.enable = true;
|
|
autocomplete.blink-cmp.enable = true;
|
|
visuals.fidget-nvim.enable = true;
|
|
};
|
|
};
|
|
};
|
|
}
|