nix dotfiles

This commit is contained in:
itamar 2026-04-10 18:50:25 +03:00
commit 7b8005c867
Signed by: itamar
SSH key fingerprint: SHA256:Dv6UzB9hN8q8FUgMR/7X3DTFpE/vSB2m05+KNnxM4B0
27 changed files with 1728 additions and 0 deletions

69
navi/laniakea/neovim.nix Normal file
View 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;
};
};
};
}