nix dotfiles
This commit is contained in:
commit
7b8005c867
27 changed files with 1728 additions and 0 deletions
69
navi/laniakea/neovim.nix
Normal file
69
navi/laniakea/neovim.nix
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
{ 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue