nixos/home/nixvim/nixvim.nix
2026-03-04 21:43:27 +01:00

34 lines
493 B
Nix
Executable File

{
config,
pkgs,
lib,
...
}:
{
imports = [
./plugins.nix
./keymaps.nix
./coding.nix
];
programs.nixvim = {
enable = true;
extraPackages = with pkgs; [
nixd
nixpkgs-fmt
stylua
black
];
globals.mapleader = " ";
defaultEditor = true;
wrapRc = true;
opts = {
number = true;
relativenumber = true;
shiftwidth = 4;
termguicolors = true;
cursorline = true;
laststatus = 0;
};
};
}